mirror of
https://github.com/spliit-app/spliit.git
synced 2025-12-06 09:29:39 +01:00
Fix mobile keyboard on shares field (Fix #49)
This commit is contained in:
@@ -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>
|
||||
{[
|
||||
|
||||
Reference in New Issue
Block a user