allowedMimeType not working for doc file and allowedFileType not working for html file #947
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
--> Allows only HTML file and Doc file is not accepted
allowedMimeType = [
"application/msword",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"text/html"
]
--> Allows only Doc file and HTML file is not accepted
allowedFileType = [
'doc', 'html'
]
--> When used together, it does not select any file type
allowedMimeType = [ "text/html"]
allowedFileType = [ 'doc']