How to prevent ng2FileDrop for multiple file drop in area? #1133
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I'm trying to prevent the multiple file drop in
ng2FileDrop, but I couldn't found any way to achieve this approach.Is this possible in library?
Regards,
Yougesh
Have the ng2FileDrop as label to an input fileupload which is hidden. @ypkkhatri
I tried the above snippet @vishnu-dev , still it doesn't work, if the user selects multiple file and drop it , it should not allow to drop, only single file should be allowed. How do I achieve this ?
updates?
I created a check '' if more than one file found then alert the user" or select the first file only.