WEB-765 Restrict negative values in Add Slab fields for Recurring Deposit Product (#3195)
This commit is contained in:
+10
-5
@@ -468,28 +468,32 @@ export class RecurringDepositProductInterestRateChartStepComponent implements On
|
||||
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',
|
||||
@@ -497,7 +501,8 @@ export class RecurringDepositProductInterestRateChartStepComponent implements On
|
||||
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