feat(ratecard): add minimum value constraint to rate input fields

This commit is contained in:
shancds
2025-05-26 08:59:58 +05:30
parent 21a4131faa
commit e567d6b345
2 changed files with 2 additions and 0 deletions

View File

@@ -259,6 +259,7 @@ const RatecardDrawer = ({
<Input
type="number"
value={roles[index]?.rate ?? 0}
min={0}
style={{
background: 'transparent',
border: 'none',

View File

@@ -216,6 +216,7 @@ const RatecardTable: React.FC = () => {
<Input
type="number"
value={roles[index]?.rate ?? 0}
min={0}
style={{
background: 'transparent',
border: 'none',