Willian Custódio Willian Custódio - 1 month ago 26
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

I resolved with CSS:

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

Thanks all for help!

Comments