Skip to content

Commit b93c604

Browse files
Merge pull request #3491 from JaySoni1/WEB-914-validation-error-message-not-displayed-for-required-note-field-in-undo-disbursal-in-loan-account-details
WEB-914 Validation error message not displayed for required Note fiel…
2 parents 84fc2a4 + 82a2927 commit b93c604

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)