-
Notifications
You must be signed in to change notification settings - Fork 3.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
Show number keyboard on mobile onscreen keyboards #1595
Comments
There is no good way to do this, unfortunately. The current behavior is that you should be able to enter any value that JavaScript can convert to a number with The default mobile experience is to use modal inputs instead of the text input anyway. It's only pretty recently that we supported disabling these inputs in core and even more recently that that experience worked well enough on all mobile browsers for anyone to turn it on. So largely this doesn't even matter, because if you're using modal inputs, which use But if you are disabling the modal inputs then:
Thus, on Android, there would not be any way to both show the number keyboard and allow users to enter values like Instead, we could solve this by providing a specific mobile-friendly number input as a plugin, maybe with a popout numpad widget, and a separate |
Problem statement
FieldNumber editors should provide the correct
<input>
attributes to help touch/mobile device onscreen keyboards.Expected Behavior
Number fields editors should use
<input id="number" type="number" ...>
.Need to verify the change does not have unexpected impact on non-touch platforms.
Actual Behavior
field_number
currently use the following for editor:The text was updated successfully, but these errors were encountered: