I am using p-calendar
I would like all past dates to be disabled
here is what I have :
<p-calendar formControlName="date" [inline]="true" tabindex="0" [disabledDates]="invalidDates" [disabledDays]="[0,6]"></p-calendar>
This is not working, what do I need to change to get the result I want ?