Topic: File upload plugin does not accept .xlsx, .docx formats
vtaevere free asked 1 year ago
File upload plugin allows file extensions of type ".xlsx", ".docx" when specifying [acceptedExtensions]
"Your file has incorrect file format" error message is displayed although browser "Open" dialog filters files correctly by format.
No such error occurs, when [acceptedExtensions]="'.pdf'"
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/vtaevere/3499395
Still not fixed
Our team is running into a similar issue but on version 2.0.2 of the file upload plugin. We have the following allowed:
[acceptedExtensions]="'.pdf, .docx, .txt, .xlsx'".
With the file extension list as such, we get no error when selecting a .pdf, but if we do either .txt, .docx, or .xlsx, we get errors:
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB5 1.3.0
- Device: PC
- Browser: Safari, Chrome
- OS: Windows 10, MacOS
- Provided sample code: No
- Provided link: Yes