Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileUpload multiple file drag when multiple set to false #3120

Closed
bnymncoskuner opened this issue Jun 16, 2017 · 0 comments
Closed

FileUpload multiple file drag when multiple set to false #3120

bnymncoskuner opened this issue Jun 16, 2017 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@bnymncoskuner
Copy link

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

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:

  • Angular version: 2.0.X
  • PrimeNG version: 2.0.X
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

  • Node (for AoT issues): node --version =

@cagataycivici cagataycivici self-assigned this Jun 17, 2017
@cagataycivici cagataycivici added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Jun 17, 2017
@cagataycivici cagataycivici added this to the 4.1.0 milestone Jun 17, 2017
@cagataycivici cagataycivici added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants