Cordova plugin to show decimal keyboard on iPhones
cordova plugin add https://github.com/mrchandoo/cordova-plugin-decimal-keyboard.git
<input type="text" pattern="[0-9]*" decimal="true">
Input type number will not work, try to use text with [0-9] pattern instead.
<input type="text" pattern="[0-9]*" decimal="true" allow-multiple-decimals="true">
<input type="text" pattern="[0-9]*" decimal="true" allow-multiple-decimals="false" decimal-char=",">
If you want to localize decimal character, you can change using decimal-char attribute
- Does not handle screen rotation.
This project is licensed under the MIT License - see the LICENSE file for details