Add onClick-event to select all to amount input (#104)

* add onfocus-event to select all to amount input

* use onClick instead of onFocus
This commit is contained in:
Lauri Vuorela
2024-02-28 16:44:27 +01:00
committed by GitHub
parent 2f991e680b
commit 56c1865264

View File

@@ -222,6 +222,7 @@ export function ExpenseForm({
inputMode="decimal"
step={0.01}
placeholder="0.00"
onClick={(e) => e.currentTarget.select()}
{...field}
/>
</FormControl>