-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I set up file type validation with the folloing accepted types:
acceptedFileTypes: [
'image/',
'audio/',
'video/',
'text/',
'application/pdf',
'application/msword',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'application/vnd.ms-excel',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'application/vnd.ms-powerpoint',
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'application/application/vnd.openxmlformats-officedocument.presentationml.slideshow',
'application/x-zip-compressed',
],
When dropping files directly (not dropping a folder) it works perfectly (see attached image validateType_directly.png).
When dropping a folder containing the exactly same files as before, some (but not all) files types are blocked (see attached image validateType_folder.png), although they should be accepted.
So it seems, files are processed differently when a folder ist dropped.
Any advice is highly appreciated.
PS:
After deactivation of FilePondPluginFileValidateType, upload works correctly, no matter if the files are contained in a folder or not (of course all files are accepted in this case).