fix: make loan product save when "Enable installment" was clicked and Delinquency removed
If the user deselects the Delinquency, but the "Enable installment" checkbox was ticked, saving failed. Fixes: WEB-25
This commit is contained in:
committed by
Adam Saghy
parent
10ca46907e
commit
a8bc3f37e9
+2
-1
@@ -679,7 +679,8 @@ export class LoanProductSettingsStepComponent implements OnInit {
|
||||
clearProperty($event: Event, propertyName: string): void {
|
||||
if (propertyName === 'delinquencyBucketId') {
|
||||
this.loanProductSettingsForm.patchValue({
|
||||
delinquencyBucketId: ''
|
||||
delinquencyBucketId: '',
|
||||
enableInstallmentLevelDelinquency: false
|
||||
});
|
||||
}
|
||||
this.loanProductSettingsForm.markAsDirty();
|
||||
|
||||
Reference in New Issue
Block a user