ionic-team / cordova-plugin-ionic-keyboard

Keyboard Plugin for Cordova
Other
193 stars 178 forks source link

Open numeric by default on alphanumeric field #64

Closed willemjanvankranenburg closed 5 years ago

willemjanvankranenburg commented 5 years ago

Hi,

Is it possible that when the keyboard is shown using the keyboard.show() methode, you specify which type you want, numeric in my case? I have a field, house number, and don't want to save the extension in a separate field. But I always want to first fill in a number. and 99% of the time it even is only a number.

So is there a way to open the numeric keyboard by default, but it should be possible to switch to alphanumeric (so <input='number'> in the HTML is not possible)

jcesarmobile commented 5 years ago

No, it's not possible