Using future dates in loan application
This commit is contained in:
committed by
Arnold Gálovics
parent
74fa92d81b
commit
753791a078
+1
-1
@@ -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>
|
||||
|
||||
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user