I have upgraded my project from v15 to Angular v18/PrimeNG v17 and in my component:
<p-calendar
dateFormat="yy-mm-dd"
formControlName="finish_date"
[minDate]="today"
>
</p-calendar>
when I have date saved in DB and it is today or in the past, the field stays empty.
I want to minDate only for new inputs, but the field should display dates even in the past if already saved.
New contributor
MartinaAnt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.