Open uzumakinaruto123 opened 5 years ago
this.options = { allowedContentTypes : ["application/pdf", " application/vnd.ms-excel", " .doc", ".docx", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", " application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"] };
Only ".pdf" extensions can be selected with above config. If allowedContentTypes is removed and only accept="..." is used then correct file types could be selected.
Hello @uzumakinaruto123
see if this works for you
I found it here I found it in this issue #399, here you can find more information, here!!
this.options = { allowedContentTypes : ["application/pdf", " application/vnd.ms-excel", " .doc", ".docx", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", " application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"] };
Only ".pdf" extensions can be selected with above config. If allowedContentTypes is removed and only accept="..." is used then correct file types could be selected.