Is there a way to make Primeng calendar display past end date values without using the [disabledDates]
property, even if the minDate
is set as the current date?
Check out the code below:
<p-calendar [showIcon]="true"
inputId="icon" [minDate]="minDate" [showOtherMonths]="false" dateFormat="dd-M-yy"
formControlName="LICENCE_END_DATE"></p-calendar\>
Currently, when minDate
is set to new Date()
, the value of formcontrolname
- LICENCE_END_DATE shows a past value 'Wed Jul 31 2024 23:59:59 GMT+0530 (India Standard Time)' despite both minDate and selected date formats being similar.
However, the p-calender
control does not display this past value. Any solutions or workarounds for this issue?