Fix mobile keyboard on shares field (Fix #49)

This commit is contained in:
Sebastien Castiel
2024-01-18 09:07:47 -05:00
parent 2728f24989
commit 395c86666c

View File

@@ -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
}
/>
</FormControl>
{[