Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More than 2 digits of country calling code #307

Open
polaroi8d opened this issue Oct 10, 2017 · 3 comments
Open

More than 2 digits of country calling code #307

polaroi8d opened this issue Oct 10, 2017 · 3 comments

Comments

@polaroi8d
Copy link

polaroi8d commented Oct 10, 2017

First of all, thanks for the hard work, the validation mask is working almost perfectly.

I have an issue, when I'm using the code where the country calling code 2 is 100% perfect. But if I want to input 3 digits of prefix ie.: Portugal | 351 / Slovakia | 421 / Slovenia | 386, tha mask always add the last digit to the real number.

What can I do with this? I didn't find any solution mentioned in the issues, if there is something so sorry for oppened this issue.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@polaroi8d
Copy link
Author

^ @assisrafael

@assisrafael
Copy link
Owner

There is not an international phone mask available in this library.
You can check the code for the localized versions (e.g. uiBrPhoneNumberMask) and implement a mask in the global package that handles all global formats (could be named uiPhoneNumberMask).

@polaroi8d
Copy link
Author

Sad to hear about this. Okey, thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants