ios - Decimal point on numeric keypad on iphone in Phonegap / Cordova -
I am developing an iPhone application where I need to insert the value with a decimal point. Also tried "or step =" 0.01 ", but it does not show decimal point on numeric keyboard. I am using phone inter / cordova.
The code of my current code Please help !! Thank you. Try using the pattern in your input type = "number" field < pre> This will bring the full keyboard but the default in the number / symbol panel. The user can still switch to Alphanumeric, but on the OnBlur event, the pattern kicks and removes any alphanumeric characters (but numbers). It should be both types = "number" and pattern = "\ d + (. \ D *)?" But if you are developing for iOS then you will find this question useful & lt; Input name = "abc" pattern = "\ d + (\. \ D *)?" Type = "number" & gt;
pattern = "\ d + (\. \ d *)?"
Comments
Post a Comment