Show Decimal Keyboard in HTML5 iOS 7 / iOS 8
cordova, css, html, ios, javascript
Solution
Checkout `inputmode="decimal"` starting on iOS 12.2
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode
https://caniuse.com/#feat=input-inputmode
Problem
I just have a simple question after having searched for hours now: Is there any possibility to show the decimal keyboard in webbrowsers input fields? `input type="number"` only shows numbers but i need a comma or dot instead in the bottom left corner. I tried anything, `pattern`, `step` etc., but nothing brings up the decimal keyboard. I only need the numbers and a dot or comma, no A-Z or a-z or anything else. ``` <input type="number" id="inputNumbers" pattern="[0-9]*" size="30" min="1" max="5"> ``` This is what i get: This is what i want: