Setting type=number on the Weight field brings up the numeric keypad on Android, but iOS requires pattern="[0-9]*" to do the same. Without this, you get the full keyboard which makes it harder to tap just the number keys.
Not sure why my commit has all these formatting changes included. 🤔 I used github.dev to make the change since it's small.
Setting
type=number
on the Weight field brings up the numeric keypad on Android, but iOS requirespattern="[0-9]*"
to do the same. Without this, you get the full keyboard which makes it harder to tap just the number keys.Not sure why my commit has all these formatting changes included. 🤔 I used
github.dev
to make the change since it's small.