Open
Description
Describe the bug
When using keepInvalid=true and writing an invalid date, the clear button works the first time but every subsequent click on the clear button has no effect when the input is invalid.
Pull Request Link
No response
Reason for not contributing a PR
- Lack of time
- Unsure how to implement the fix/feature
- Difficulty understanding the codebase
- Other
Other Reason
No response
Reproducer
https://stackblitz.com/edit/github-eps8r4ln-5w3sp3b7?file=src%2Fapp%2Fapp.component.html
Environment
See Stackblitz
Angular version
19.1.5
PrimeNG version
v19
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
- input invalid date ("abc")
- press clear icon
- input invalid date again
- press clear icon
Expected behavior
The invalid input value should be cleared again.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Review