disable past dates on agenda

This commit is contained in:
EQUILIBRIUM\hirondino.van-dunem
2022-06-09 09:10:36 +01:00
parent 162a39454a
commit 46537b61e8
2 changed files with 3 additions and 0 deletions
@@ -128,6 +128,7 @@
placeholder="Choose a date"
[(ngModel)]="postEvent.StartDate"
[disabled]="disabled"
[min]="currentDate"
>
<mat-datepicker-toggle id="new-inicio" matSuffix [for]="picker1"></mat-datepicker-toggle>
<ngx-mat-datetime-picker #picker1
@@ -159,6 +160,7 @@
placeholder="Choose a date"
[(ngModel)]="postEvent.EndDate"
[disabled]="disabled"
[min]="currentDate"
>
<mat-datepicker-toggle id="new-fim" matSuffix [for]="fim"></mat-datepicker-toggle>
<ngx-mat-datetime-picker #fim