Input Mask sets DIRTY state incorrectly #5045
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Current behavior
Clicking (focus) in the input mask and directly leaving it (blur) without typing any character sets the input state to DIRTY. That is incorrect and it not aligned with the Angular standard behavior. It also leads to a confusing visual user feedback.
Expected behavior
Only set DIRTY state if the user types anything (no matter if valid or invalid character).
The text was updated successfully, but these errors were encountered: