FileUpload multiple file drag when multiple set to false #3120
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
http://plnkr.co/edit/ka0EAyfLDz1pgB7luFXe?p=preview
Current behavior
When multiple prop of FileUpload component is set to false, it works properly and does not allow to choose more than 1 file when upload button is used. However you can still drag multiple files into component and it lists them all.
Expected behavior
When multiple prop is set to false, dragging multiple files should not be allowed or first file should be added and rest should be ignored.
Minimal reproduction of the problem with instructions
You can view this bug on follower plnkr
http://plnkr.co/edit/ka0EAyfLDz1pgB7luFXe?p=preview
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Language: [all | TypeScript X.X | ES6/7 | ES5]
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: