Calendar: onModelChange not called with keepInvalid=true if user enters a well-formatted date but outside allowed range #13132
Labels
LTS-PORTABLE
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Validators are not fired with keepInvalid=true when user enters a well-formatted date that falls outside its validity range.
Today is 02/06/2023 , if user enters "01/01/202" (with keyboard) validators are fired and error is shown
but if user enters "01/01/2023" validors are not fired (and no error is shown)
I'll submit a PR shortly to fix the probleme.
Environment
Linux Ubuntu 22.04.2 LTS
Firefox 113.0.2 (64-bit)
Reproducer
No response
Angular version
15.2.0
PrimeNG version
15.4.1
Build / Runtime
TypeScript
Language
TypeScript
Node version (for AoT issues node --version)
v16.20.0
Browser(s)
Firefox 113.0.2 (64-bit)
Steps to reproduce the behavior
=> no validator fired
Expected behavior
Expecting validators to be fired.
The text was updated successfully, but these errors were encountered: