WEB-770 Validation Message Not Displayed for Payment Type in Deposit and Withdrawal Forms (#3203)
This commit is contained in:
+6
@@ -59,6 +59,12 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
}
|
}
|
||||||
</mat-select>
|
</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>
|
</mat-form-field>
|
||||||
|
|
||||||
<div class="flex-fill">
|
<div class="flex-fill">
|
||||||
|
|||||||
+4
-1
@@ -115,7 +115,10 @@ export class SavingsAccountTransactionsComponent implements OnInit {
|
|||||||
0,
|
0,
|
||||||
Validators.required
|
Validators.required
|
||||||
],
|
],
|
||||||
paymentTypeId: [''],
|
paymentTypeId: [
|
||||||
|
'',
|
||||||
|
Validators.required
|
||||||
|
],
|
||||||
note: ['']
|
note: ['']
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user