fileUpload | Notification messages not work #11886
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Hello,
I discover a new bug on PrimeNG 14 that didn't exist on PrimeNG 13.
On the FileUpload component, if fileLimit is greater than 0, error messages not working.
For exemple, if you select an .png, nothing happens instead of an invalid type file error:
<p-fileUpload`` accept=".jpg" [fileLimit]="1">
Best regards,
Environment
Reproducer
https://stackblitz.com/edit/angular-ivy-juvguo
Angular version
14.2.0
PrimeNG version
14.0.2
Build / Runtime
Angular CLI App
Language
ES6
Node version (for AoT issues node --version)
16.17.0
Browser(s)
Chrome 104
Steps to reproduce the behavior
Expected behavior
Expected default message error.
The text was updated successfully, but these errors were encountered: