Giter Site home page Giter Site logo

maximbelov / cordova-plugin-decimal-keyboard-wkwebview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oarsheo/cordova-plugin-decimal-keyboard-wkwebview

0.0 0.0 3.0 397 KB

Cordova plugin to show decimal keyboard on iOS devices

License: Apache License 2.0

Objective-C 80.98% JavaScript 19.02%

cordova-plugin-decimal-keyboard-wkwebview's Introduction

cordova-plugin-decimal-keyboard-wkwebview

Linked In Twitter Follow

Cordova plugin to show decimal keyboard on iOS devices.

Taken from mrchandoo's repo cordova-plugin-decimal-keyboard and merged with ericdesa WKWebView fix.

Install

cordova plugin add --save https://github.com/MaximBelov/cordova-plugin-decimal-keyboard-wkwebview.git

Usage

<input type="text" inputmode="numeric" pattern="[0-9]*" decimal-char=".">

<input type="text" inputmode="numeric" pattern="[0-9]*" done-button="Ok">

<input type="text" inputmode="numeric" pattern="[0-9]*" done-button="Done">

Input type number will not work, try to use text with [0-9] pattern instead.

Multiple decimals

<input type="text" pattern="[0-9]*" decimal-char="." allow-multiple-decimals="true">

Different decimal character

<input type="text" pattern="[0-9]*" decimal-char="," allow-multiple-decimals="false">

If you want to localize decimal character, you can change using decimal-char attribute

Known Issues

License

This project is licensed under the MIT License - see the LICENSE file for details

cordova-plugin-decimal-keyboard-wkwebview's People

Contributors

darylldawn avatar jriiringan avatar kanaleksei avatar maximbelov avatar mrchandoo avatar pablocaselas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.