You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the accept property simply filters the allowed files in the system file dialog. It does not do anything for a drag / dropped file though. Perhaps it would be good to validate the file extension against the list of allowed extensions when a file is uploaded via drag / drop. Thoughts?
The text was updated successfully, but these errors were encountered:
@green-arrow my idea was to handle the extension validation in filesAreValid (leave it to the developer) but if you come up with a good implementation i'm happy to merge.
Currently, the
accept
property simply filters the allowed files in the system file dialog. It does not do anything for a drag / dropped file though. Perhaps it would be good to validate the file extension against the list of allowed extensions when a file is uploaded via drag / drop. Thoughts?The text was updated successfully, but these errors were encountered: