diff --git a/src/components/expense-form.tsx b/src/components/expense-form.tsx index 46a004c6..035d22cd 100644 --- a/src/components/expense-form.tsx +++ b/src/components/expense-form.tsx @@ -411,8 +411,18 @@ export function ExpenseForm({ ), ) } - inputMode="numeric" - step={1} + inputMode={ + form.getValues().splitMode === + 'BY_AMOUNT' + ? 'decimal' + : 'numeric' + } + step={ + form.getValues().splitMode === + 'BY_AMOUNT' + ? 0.01 + : 1 + } /> {[