Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter
I'm using the Vue 3 version. Whenever I try to upload a .doc .docx file the newFile.type is empty, therefore I'm not able to validate on inputFilter
I'm aware that I can check file type as per filename as explained in docs, but it doesn't fill very trustworthy. Instead, I'd like to check with file type as I use to do with any other file (which works as expected)
The odd thing is that .xls and .xlsx files work fine returning this in newFile.type:
I'm using the Vue 3 version. Whenever I try to upload a .doc .docx file the
newFile.type
is empty, therefore I'm not able to validate oninputFilter
I'm aware that I can check file type as per filename as explained in docs, but it doesn't fill very trustworthy. Instead, I'd like to check with file type as I use to do with any other file (which works as expected)
The odd thing is that .xls and .xlsx files work fine returning this in
newFile.type
:Any advice will be appreciated
The log returns this