Optional number
renanpro03 opened this issue · 2 comments
renanpro03 commented
Hi, in Brazil we have mobile phone like this (xx) x xxxx-xxxx and normal phone like this (xx) xxxx-xxxx
So, using jquery mask I was able do do something like this:
$(".phone").mask("(99) 9999-9999?9");
The last number is optional using the question mark, is there a way to do that unsing your component?
Thanks
niksmr commented
It is not gonna work for now that way, but maybe I will implement it in the future. The best thing you can do now is add the radio button or something like that and change the mask if necessary.
kl3sk commented
Any chances to have this feature ?