mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-10 09:36:12 +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"
|
||||
step={0.01}
|
||||
placeholder="0.00"
|
||||
onClick={(e) => e.currentTarget.select()}
|
||||
{...field}
|
||||
/>
|
||||
</FormControl>
|
||||
|
||||
Reference in New Issue
Block a user