Hello, i have an input with type = “number”, when trying to enter a value using web browser on my android, the keyboard is containing “.” and “-”, but after packaging it into apk using cordova tools, the keyboard is only showing numbers.
Same problem here, all I know is that it’s more of a android bug that concerns some models of Android phones (such as Galaxy S4 / mini)
I haven’t found any solution yet except :
using a virtual keyboard
using a type=“tel” input (definitely not a satisfying solution but allows dots)
Thanks, I will try it, but It’s semantically invalid according to HTML5 rules.
btw, the keyboard on pure android (original google keyboard) handles it well, but my htc one keyboard doesn’t
It’s no so OK (at least on my Galaxy S4 mini) as it shows unwanted characters such as # and -
Also the dot is not on the main keyboard but in a secondary keyboard.
It’s a lot less effective than a plain numeric keyboard with all digits and the dot on the same view.
An input or ion-input with inputmode=“numeric” (and without the type=“number” attribute) provides the desired behavior of having both “.” and “-” for me on Galaxy A50.