New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DragDrop Restrictions on drag #607
Comments
Some of the restrictions can be enforced on drag. |
I want to restrict by file type and size. Can either or both of these be enforced during drag? if so how? because setting file type restriction (e.g. Uppy(restrictions: {allowedFileTypes: 'image/*'}); only seems to work on drop. |
Hi! Yes, currently we check restrictions when |
So this is something that needs to be implemented and currently isn't supported out of the box? |
Correct. |
I’m going to add this to backlog and close for now, thanks! |
In the DragDrop plugin demo on the uppy website the restrictions only seem to work on drop. Is it possible to make them work on drag. What I would like to do is change the drop area border color if a file being dragged isn't allowed to be dropped rather than showing a message after the user has dropped. Can this be done in uppy and if so how?
Note that I have created a custom dragdrop plugin for greater control.
The text was updated successfully, but these errors were encountered: