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
Recommended - Check out the discussions area before opening a new issue.
Describe the bug
The typescript definition of FileFilterMethod seems to be wrong.
It states that accepts 3 arguments, but it receives only one argument.
The typescript signature is actually useful.
I was trying to filter the number of files accepted when I drag multiple files.
The problem is that there is no way for me to know how many files have been already added to the batch, and the multiple option works only on file input, so I cannot limit the number of files uploaded when the user use the drag and drop feature.
Expected behavior
Receive the other two arguments in order to successfully filter the files when using drag and drop
Versions
1.2.0
Code
Please provide code sample or better yet, a link to a reproducing repository or best yet, codesandbox (fiddle, etc) where issue can be reproduced easily
The text was updated successfully, but these errors were encountered:
Describe the bug
The typescript definition of
FileFilterMethod
seems to be wrong.It states that accepts 3 arguments, but it receives only one argument.
The typescript signature is actually useful.
I was trying to filter the number of files accepted when I drag multiple files.
The problem is that there is no way for me to know how many files have been already added to the batch, and the
multiple
option works only on file input, so I cannot limit the number of files uploaded when the user use the drag and drop feature.To Reproduce
Steps to reproduce the behavior:
Check
FileFilterMethod
with the actual implementation.Expected behavior
Receive the other two arguments in order to successfully filter the files when using drag and drop
Versions
1.2.0
Code
Please provide code sample or better yet, a link to a reproducing repository or best yet, codesandbox (fiddle, etc) where issue can be reproduced easily
The text was updated successfully, but these errors were encountered: