react-dropzone / attr-accept

JavaScript implementation of the "accept" attribute for HTML5 input element
MIT License
110 stars 24 forks source link

Empty string vs empty array inconsistency #38

Closed ThiefMaster closed 1 week ago

ThiefMaster commented 4 years ago

If acceptedFiles is an empty string, everything is accepted, but if it's an empty array, nothing is accepted. Is this intentional?

rolandjitsu commented 4 years ago

Probably not, just submit a PR and add a test case for it.

rolandjitsu commented 1 week ago

I guess this wasn't a major issue. I'll try to see if I can reproduce and fix.

github-actions[bot] commented 1 week ago

:tada: This issue has been resolved in version 2.2.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: