3 ms·
So... how are you supposed to trigger a numeric keypad on mobile then, for things that aren't technically a number but are composed entirely of digits? Serious
by crazygringo 8y ago
So... how are you supposed to trigger a numeric keypad on mobile then, for things that aren't technically a number but are composed entirely of digits? Serious question.
Edit: kibibu below says it's the "inputmode" attribute, but it only works in Chrome currently. :(
https://html.spec.whatwg.org/multipage/interaction.html#input-modalities%3A-the-inputmode-attribute https://html.spec.whatwg.org/multipage/interaction.html#inpu...
- function_seven 8y agoI use type=“tel” for that. Works better than “number”.
- CivilianZero 8y agoWas looking for this to be in the comments somewhere. Thumbs up.