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

Brazilian cellphone numbers changed #15

Closed
rcdmk opened this issue Jun 9, 2015 · 2 comments
Closed

Brazilian cellphone numbers changed #15

rcdmk opened this issue Jun 9, 2015 · 2 comments

Comments

@rcdmk
Copy link

rcdmk commented Jun 9, 2015

Recently (on the past years) some of the cellphone numbers changed, adding a 9 before the number:
+55 (11) 1234-5678 => +55 (11) 91234-5678

This is only valid for cellphone numbers from some states, not for the entire country, but one of the most, if not the most, influent state here, São Paulo (area code 11), adopted this format and your mask for Brazilian numbers does not account for this change.

One possible solution would be to always expect the number to have nine digits when is starts with the number 9, but reformat the mask to 8 digits if it's filled with 8 digits on blur.

@andr-04
Copy link
Owner

andr-04 commented Apr 17, 2016

Fixed. Thanks!

@andr-04 andr-04 closed this as completed Apr 17, 2016
@rcdmk
Copy link
Author

rcdmk commented Apr 17, 2016

Great! Thank you!

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

No branches or pull requests

2 participants