Willian Custódio Willian Custódio - 1 year ago 144
Android Question

Show only number keyboard on Ionic/Cordova app

I have two problems in my Ionic/Cordova app, both with numeric keyboard that I not have option to show it.

1) Password input that needs to show a numeric keyboard. It's showing a alpha numerical keyboard. If I change to numeric, I can't hide the entries (with *).

2) Numeric input that I have to insert currency mask (left to right). All options that I find runs in text input.

Anybody help me? Please!

Answer Source

I resolved with CSS:

<input type="number" style="-webkit-text-security:disc">

Thanks all for help!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download