WEB-631 Set Currency in multiples of Field Default to Blank in Loan Product Form (#3052)
This commit is contained in:
+2
-2
@@ -45,7 +45,7 @@ export class LoanProductCurrencyStepComponent implements OnInit {
|
|||||||
digitsAfterDecimal: this.loanProductsTemplate.currency.decimalPlaces
|
digitsAfterDecimal: this.loanProductsTemplate.currency.decimalPlaces
|
||||||
? this.loanProductsTemplate.currency.decimalPlaces
|
? this.loanProductsTemplate.currency.decimalPlaces
|
||||||
: 2,
|
: 2,
|
||||||
inMultiplesOf: this.loanProductsTemplate.currency.inMultiplesOf ?? 1,
|
inMultiplesOf: this.loanProductsTemplate.currency.inMultiplesOf || '',
|
||||||
installmentAmountInMultiplesOf: this.loanProductsTemplate.installmentAmountInMultiplesOf ?? 1
|
installmentAmountInMultiplesOf: this.loanProductsTemplate.installmentAmountInMultiplesOf ?? 1
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -64,7 +64,7 @@ export class LoanProductCurrencyStepComponent implements OnInit {
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
inMultiplesOf: [
|
inMultiplesOf: [
|
||||||
1,
|
'',
|
||||||
[
|
[
|
||||||
Validators.required,
|
Validators.required,
|
||||||
Validators.min(1)
|
Validators.min(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user