Using future dates in loan application

This commit is contained in:
Jose Alberto Hernandez
2022-07-28 17:05:56 +02:00
committed by Arnold Gálovics
parent 74fa92d81b
commit 753791a078
4 changed files with 5 additions and 5 deletions
@@ -54,7 +54,7 @@
<mat-form-field fxFlex="48%" (click)="disbursementPicker.open()">
<mat-label>Disbursement on</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="disbursementPicker" required
<input matInput [min]="loansAccountDetailsForm.value.submittedOnDate" [max]="maxDate" [matDatepicker]="disbursementPicker" required
formControlName="expectedDisbursementDate">
<mat-datepicker-toggle matSuffix [for]="disbursementPicker"></mat-datepicker-toggle>
<mat-datepicker #disbursementPicker></mat-datepicker>
@@ -21,7 +21,7 @@ export class LoansAccountDetailsStepComponent implements OnInit {
/** Minimum date allowed. */
minDate = new Date(2000, 0, 1);
/** Maximum date allowed. */
maxDate = new Date();
maxDate = new Date(2100, 0, 1);
/** Product Data */
productData: any;
/** Loan Officer Data */