Skip to content

Commit 82a2927

Browse files
committed
WEB-914 Validation error message not displayed for required Note field in Undo Disbursal in Loan Account Details
1 parent 62acfd6 commit 82a2927

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/app/loans/loans-view/loan-account-actions/undo-disbursal/undo-disbursal.component.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
<mat-form-field class="flex-fill">
1414
<mat-label>{{ 'labels.inputs.Note' | translate }}</mat-label>
1515
<textarea matInput required [formControl]="note" cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
16+
@if (note.hasError('required')) {
17+
<mat-error>
18+
{{ 'labels.inputs.Note' | translate }} {{ 'labels.commons.is' | translate }}
19+
<strong>{{ 'labels.commons.required' | translate }}</strong>
20+
</mat-error>
21+
}
1622
</mat-form-field>
1723
</div>
1824

0 commit comments

Comments
 (0)