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
React-dropzone has an accept prop, to accept specific filetypes but reject all others, like a whitelist. However, what if I want to reject one filetype (like blacklisting .exe files), but include all other filetypes? I didn't find a reject prop in the documentation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
React-dropzone has an
accept
prop, to accept specific filetypes but reject all others, like a whitelist. However, what if I want to reject one filetype (like blacklisting .exe files), but include all other filetypes? I didn't find areject
prop in the documentation.Beta Was this translation helpful? Give feedback.
All reactions