p-calendar set to null when date is less than mindate #2249
Unanswered
ToniSoriano
asked this question in
PrimeNG
Replies: 1 comment
-
Running into the same Issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
The p-calendar component has behavior that is not always optimal.
By default, if it detects that the date is below or above the mindate or maxdate, it stops displaying the date it has in the ngModel.
For our use case it is a problem since there may be previous dates already persisted.
We would need to be able to display those dates and mark the component as invalid, so that the user can see and rectify the date.
Thank you so much.
Demo stackblitz
Beta Was this translation helpful? Give feedback.
All reactions