nmunson / warmup-reps

Calculate warmup sets, reps and weights for strength training programs like Starting Strength.
http://WarmupReps.com
72 stars 28 forks source link

Force numerical keyboard for weight input on iOS #33

Open andrewmillen opened 1 year ago

andrewmillen commented 1 year ago

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.