WEB-770 Validation Message Not Displayed for Payment Type in Deposit and Withdrawal Forms (#3203)

This commit is contained in:
Soni Jay
2026-02-22 15:12:54 -06:00
committed by GitHub
parent cd190b385a
commit 0a992913ad
2 changed files with 10 additions and 1 deletions
@@ -59,6 +59,12 @@
</mat-option>
}
</mat-select>
@if (savingAccountTransactionForm.controls.paymentTypeId.hasError('required')) {
<mat-error>
{{ 'labels.inputs.Payment Type' | translate }} {{ 'labels.commons.is' | translate }}
<strong>{{ 'labels.commons.required' | translate }}</strong>
</mat-error>
}
</mat-form-field>
<div class="flex-fill">
@@ -115,7 +115,10 @@ export class SavingsAccountTransactionsComponent implements OnInit {
0,
Validators.required
],
paymentTypeId: [''],
paymentTypeId: [
'',
Validators.required
],
note: ['']
});
}