WEB-765 Restrict negative values in Add Slab fields for Recurring Deposit Product (#3195)

This commit is contained in:
Soni Jay
2026-02-20 17:19:50 -06:00
committed by GitHub
parent a6fc36e823
commit c13ef9a0ba
@@ -468,28 +468,32 @@ export class RecurringDepositProductInterestRateChartStepComponent implements On
value: values ? values.fromPeriod : undefined, value: values ? values.fromPeriod : undefined,
type: 'number', type: 'number',
required: true, required: true,
order: 2 order: 2,
min: 0
}), }),
new InputBase({ new InputBase({
controlName: 'toPeriod', controlName: 'toPeriod',
label: this.translateService.instant('labels.inputs.Period To'), label: this.translateService.instant('labels.inputs.Period To'),
value: values ? values.toPeriod : undefined, value: values ? values.toPeriod : undefined,
type: 'number', type: 'number',
order: 3 order: 3,
min: 0
}), }),
new InputBase({ new InputBase({
controlName: 'amountRangeFrom', controlName: 'amountRangeFrom',
label: this.translateService.instant('labels.inputs.Amount Range From'), label: this.translateService.instant('labels.inputs.Amount Range From'),
value: values ? values.amountRangeFrom : undefined, value: values ? values.amountRangeFrom : undefined,
type: 'number', type: 'number',
order: 4 order: 4,
min: 0
}), }),
new InputBase({ new InputBase({
controlName: 'amountRangeTo', controlName: 'amountRangeTo',
label: this.translateService.instant('labels.inputs.Amount Range To'), label: this.translateService.instant('labels.inputs.Amount Range To'),
value: values ? values.amountRangeTo : undefined, value: values ? values.amountRangeTo : undefined,
type: 'number', type: 'number',
order: 5 order: 5,
min: 0
}), }),
new InputBase({ new InputBase({
controlName: 'annualInterestRate', controlName: 'annualInterestRate',
@@ -497,7 +501,8 @@ export class RecurringDepositProductInterestRateChartStepComponent implements On
value: values ? values.annualInterestRate : undefined, value: values ? values.annualInterestRate : undefined,
type: 'number', type: 'number',
required: true, required: true,
order: 6 order: 6,
min: 0
}), }),
new InputBase({ new InputBase({
controlName: 'description', controlName: 'description',