I want to avoid users drag-dropping an entire folder into the dashboard for various reasons. I know the option is there in the file picker to disallow folders, that’s fine, but it doesn’t seem to affect drag/drop? Is this possible?
Hi, setting maxNumberOfFiles
does not work for you?
It’s not so much the number of files that’s the problem, I treat compressed and uncompressed files differently. I might have a different way around it though, which involves changing my assumptions a bit…
You can’t disable folders for now unfortunately
I might have a look at adding it as an option; presumably uppy/packages/@uppy/utils/src/getDroppedFiles/utils/webkitGetAsEntryApi/index.ts at 23bf2298d8f888bde02fdd19b4b62dc99b2a382d · transloadit/uppy · GitHub would be the right place to put the check; I’ll see if I can make it work like Dashboard | Uppy.