ngx-uploader
ngx-uploader copied to clipboard
Disallowing multiple file drop on a single file input
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?