File tree Expand file tree Collapse file tree
src/app/loans/loans-view/loan-account-actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858
5959 < mat-form-field >
6060 < mat-label > {{ 'labels.inputs.Note' | translate }}</ mat-label >
61- < textarea matInput formControlName ="note " cdkTextareaAutosize cdkAutosizeMinRows ="2 "> </ textarea >
61+ < textarea matInput required formControlName ="note " cdkTextareaAutosize cdkAutosizeMinRows ="2 "> </ textarea >
62+ @if (foreclosureForm.controls.note.hasError('required')) {
63+ < mat-error >
64+ {{ 'labels.inputs.Note' | translate }} {{ 'labels.commons.is' | translate }}
65+ < strong > {{ 'labels.commons.required' | translate }}</ strong >
66+ </ mat-error >
67+ }
6268 </ mat-form-field >
6369 </ div >
6470
Original file line number Diff line number Diff line change 2222 </ mat-form-field >
2323 < mat-form-field >
2424 < mat-label > {{ 'labels.inputs.Frequency Type' | translate }}</ mat-label >
25- < mat-select formControlName ="frequencyType ">
25+ < mat-select formControlName ="frequencyType " required >
2626 @for (frequencyType of periodFrequencyOptions; track frequencyType) {
2727 < mat-option [value] ="frequencyType ">
2828 {{ frequencyType }}
2929 </ mat-option >
3030 }
3131 </ mat-select >
32+ @if (reagingLoanForm.controls.frequencyType.hasError('required')) {
33+ < mat-error >
34+ {{ 'labels.inputs.Frequency Type' | translate }} {{ 'labels.commons.is' | translate }}
35+ < strong > {{ 'labels.commons.required' | translate }}</ strong >
36+ </ mat-error >
37+ }
3238 </ mat-form-field >
3339 < mat-form-field (click) ="startDatePicker.open() ">
3440 < mat-label > {{ 'labels.inputs.Start Date' | translate }}</ mat-label >
You can’t perform that action at this time.
0 commit comments