-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Digit input type #1626
Comments
I feel like we definitely shouldn't add more input types; that hasn't gone super-well in the past. But some kind of revised inputmode proposal that implementers were actually interested in would make sense to me. @mounirlamouri and I have talked about such a thing in the past. |
Sure, date and color were disasters, but email, url, maybe not so much (at least, on iOS)? But I agree there is scope for something better.
Looking forward to hearing more... |
The issue with using new It seems that the main use cases for |
I am @grimreaper. I proposed "digit" as an "inputmode", not as a type. |
more generally, being able to control the keyboard presented is a valuable feature, and a large part of the user experience. While I'd love to see advanced types used (and be re-implemented, poorly, less) there is clear evidence that UX designers care about the keyboard. |
In theory In practice you can use |
Move the inputmode attribute definition into the editing section so that we can declare it in the ContentEditable IDL, and allow it as a global attribute. Closes whatwg#1897. Remove the prose concept from inputmode (ie. latin, kana) since it hasn't been implemented and is not possible to implement in current virtual keyboard implementations. Closes whatwg#3077, by resolving to do this subsetting instead of full removal. Similarly closes whatwg#1626 by establishing inputmode="numeric" as the solution. Tests: web-platform-tests/wpt#8690
Could you elaborate on what made you come to that conclusion? Why those controls are widely used on native iOS and Android apps, and why it is different on the web. |
On the mailing list, @grimreaper (I think) proposed "digit" as an input type.
There is support for such keyboards on:
It seems like a sensible addition to the platform.
The text was updated successfully, but these errors were encountered: