I wanted to force open a numeric keypad for ion-input on mobile web. I googled and found options only for input tag. Please help.
If you want to open for number, just specify the type=“number” or if you want a telephone number, just specify type=“tel”. Here is the code for both of them. It works for me:
<ion-input type="tel" placeholder="Phone"></ion-input>
<ion-input type="number" placeholder="Number"></ion-input>
Hope it’ll help.
Cheers!!!
5 Likes
works fine for me…Thanks bro
1 Like