WEB-763 Restrict negative values in Add Slab fields for Fixed Deposit Product (#3194)
This commit is contained in:
+10
-5
@@ -465,28 +465,32 @@ export class FixedDepositProductInterestRateChartStepComponent implements OnInit
|
||||
value: values ? values.fromPeriod : undefined,
|
||||
type: 'number',
|
||||
required: true,
|
||||
order: 2
|
||||
order: 2,
|
||||
min: 0
|
||||
}),
|
||||
new InputBase({
|
||||
controlName: 'toPeriod',
|
||||
label: this.translateService.instant('labels.inputs.Period To'),
|
||||
value: values ? values.toPeriod : undefined,
|
||||
type: 'number',
|
||||
order: 3
|
||||
order: 3,
|
||||
min: 0
|
||||
}),
|
||||
new InputBase({
|
||||
controlName: 'amountRangeFrom',
|
||||
label: this.translateService.instant('labels.inputs.Amount Range From'),
|
||||
value: values ? values.amountRangeFrom : undefined,
|
||||
type: 'number',
|
||||
order: 4
|
||||
order: 4,
|
||||
min: 0
|
||||
}),
|
||||
new InputBase({
|
||||
controlName: 'amountRangeTo',
|
||||
label: this.translateService.instant('labels.inputs.Amount Range To'),
|
||||
value: values ? values.amountRangeTo : undefined,
|
||||
type: 'number',
|
||||
order: 5
|
||||
order: 5,
|
||||
min: 0
|
||||
}),
|
||||
new InputBase({
|
||||
controlName: 'annualInterestRate',
|
||||
@@ -494,7 +498,8 @@ export class FixedDepositProductInterestRateChartStepComponent implements OnInit
|
||||
value: values ? values.annualInterestRate : undefined,
|
||||
type: 'number',
|
||||
required: true,
|
||||
order: 6
|
||||
order: 6,
|
||||
min: 0
|
||||
}),
|
||||
new InputBase({
|
||||
controlName: 'description',
|
||||
|
||||
Reference in New Issue
Block a user