mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-05 04:06:13 +01:00
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:
@@ -222,6 +222,7 @@ export function ExpenseForm({
|
|||||||
inputMode="decimal"
|
inputMode="decimal"
|
||||||
step={0.01}
|
step={0.01}
|
||||||
placeholder="0.00"
|
placeholder="0.00"
|
||||||
|
onClick={(e) => e.currentTarget.select()}
|
||||||
{...field}
|
{...field}
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|||||||
Reference in New Issue
Block a user