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

Allow the phone number field to accept international numbers #6

Closed
jasonwcfan opened this issue Feb 20, 2017 · 3 comments
Closed

Allow the phone number field to accept international numbers #6

jasonwcfan opened this issue Feb 20, 2017 · 3 comments
Assignees

Comments

@jasonwcfan
Copy link
Owner

Right now there is a text mask that forces all input into a certain format (XXX) XXX-XXXX

We want to change this mask to allow international numbers as well (e.g. UK's format is "020 7183 8750")

This might be more complicated than it initially seems!

@yomexzo
Copy link
Collaborator

yomexzo commented Mar 7, 2017

@jasonwcfan, @ronsups ... i wouldn't use a mask for phone numbers if one wants to support "all countries". instead i'd just provide a drop down of country codes beside a text field

@jasonwcfan
Copy link
Owner Author

Alternatively, if we want to keep using the mask, we can just change the mask to be of the format +cc (ddd) ddd-dddd where +cc is +01 by default. The user can then change this value to something else if they have an international number

@jasonwcfan
Copy link
Owner Author

fixed

jasonwcfan pushed a commit that referenced this issue Jun 15, 2017
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

3 participants