diff --git a/components/add/expenses.tsx b/components/add/expenses.tsx index 49bb82ae..027b59c5 100644 --- a/components/add/expenses.tsx +++ b/components/add/expenses.tsx @@ -153,7 +153,7 @@ export default function AddExpense({ show, onHide, mutate, selected, lookup }: A placeholder="199" required min="0" - inputMode="numeric" + inputMode="decimal" step="any" onChange={(event) => setState({ ...state, price: event.target.value })} value={state.price} diff --git a/components/add/income.tsx b/components/add/income.tsx index 6a5e15fd..270e57bd 100644 --- a/components/add/income.tsx +++ b/components/add/income.tsx @@ -139,7 +139,7 @@ export default function AddIncome({ show, onHide, mutate, selected, lookup }: Ad className="mt-1.5" id="amount" type="number" - inputMode="numeric" + inputMode="decimal" placeholder="10000" required min="0" diff --git a/components/add/investments.tsx b/components/add/investments.tsx index 23fde684..831a90a7 100644 --- a/components/add/investments.tsx +++ b/components/add/investments.tsx @@ -138,7 +138,7 @@ export default function AddInvestments({ show, onHide, mutate, selected, lookup