Skip to content
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

Disallowing multiple file drop on a single file input #546

Open
moniuch opened this issue Feb 5, 2022 · 0 comments
Open

Disallowing multiple file drop on a single file input #546

moniuch opened this issue Feb 5, 2022 · 0 comments

Comments

@moniuch
Copy link

moniuch commented Feb 5, 2022

Thank you all for creating and maintaining this package ❤️

Is there any pattern that I am missing which could prevent dropping multiple items if the input does not have the multiple attribute on it? Perhaps via UploadOutput.type = 'dropDisallowed'

While I could arbitrarily pick any one from the files array, for the user it wouldn't be an educating and instructive experience, so I wish I could present them a no-entry cursor over the drop area if they are dragging over multiple files in such case.

Or would that be a feature request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant