How to define phone number format or mask for ion-input?


#1

Dears is there any plugin or way define input type or mask for input box? for example

country code : (mobile/cell) phone number

<ion-input type="number" placeholder="phone number" required></ion-input>

I only can get numbers I have no limits for number length and format

input mask plug in is also was not working or better to say I couldn’t use.

Thanks.


#2

Relay there is no way to define input types to and control user inputs?


#3

Please read this blog post from @joshmorony:


#4

Hi @imediasolutions thanks for your answer but it is not working with RC5 how ever V.4 of input mask has released last night but it still shows the same errors.


#5

For persons has this problem. @DVishin has a solution on this page fallow it.