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

Accepting array of locales for mobile phone validation #742

Merged
merged 10 commits into from
Jun 5, 2018

Conversation

vipul-21
Copy link
Contributor

@vipul-21 vipul-21 commented Nov 2, 2017

Array of locales can be accepted for mobile phone validation so that only few country codes are being validated and not all.

@chriso
Copy link
Collaborator

chriso commented Nov 14, 2017

Thanks for the PR. Can you add some test cases and also update the README?

@henrikra
Copy link

@vipul-21 Could you consider using https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some rather than old way "for in" :D?

@vipul-21
Copy link
Contributor Author

Sure. Will update the PR with the suggested changes.

@profnandaa
Copy link
Member

@vipul-21 - Ping!

@vipul-21
Copy link
Contributor Author

vipul-21 commented Dec 5, 2017

Closing the pull request for the time being. Will open it again after updating the code.

@vipul-21 vipul-21 closed this Dec 5, 2017
@vipul-21
Copy link
Contributor Author

vipul-21 commented May 17, 2018

PR updated as suggested.

@vipul-21 vipul-21 reopened this May 17, 2018
@chriso chriso merged commit e81230d into validatorjs:master Jun 5, 2018
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

Successfully merging this pull request may close these issues.

4 participants