-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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. There is no validation for accept types #1694
Comments
Do you mean when you select "All Files" in the file dialog? I encountered this issue too, and I validate the uploaded file contents of the server side using binary validation. What exactly do you want primeng to do on the client side? |
@kt215 , Yes you are right, if we select "All Files" we can upload everything. |
any updates on when that change is going in? quite an important bug fix |
Merged |
Current implementation is very confusing and actually wrong. Say, I pass If it finds a * in accepted type (say Could you please reopen and fix it? |
When I click the draggable area, the browser window to select files will be pre-loaded correctly based on the Currently using:
|
Currently we can set allowed types using 'accept' attribute, but component actually does not perform any validation and we can upload any file.
The text was updated successfully, but these errors were encountered: