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
Using a number keyboard on mobile devices / setting the input pattern. #31
Comments
Good point. Thanks for the recommendation. |
Okay, I tested it, but it does not work. The native input type="number" ist hopelessly not aware of internationalization, which is a core feature of the bootstrap-input-spinner. See: https://stackoverflow.com/questions/13412204/localization-of-input-type-number |
Hmm, seems like adding a pattern might do the trick? |
Yeah, could be. However, there might be problems with the thousand separator and also with the decimal separator. I will reopen this issue and will also do some Testing. |
As currently written, the plugin has the "type" property of the resulting input hard-coded as "text". This creates a type="text" input regardless of the original input type (for example, "number"). This hurts the "mobile-friendliness" claim of the addon because if a user tries to interact with an input that is supposed to be of a particular type, the mobile browser will instead revert to full-text input.
The text was updated successfully, but these errors were encountered: