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

ignoredCountries is still allowing phone number to be validated if typed manually #231

Closed
redvivi opened this issue Dec 29, 2020 · 2 comments
Assignees

Comments

@redvivi
Copy link

redvivi commented Dec 29, 2020

Environment: vue-tel-input v4.4.0

Actual behaviour

  1. Set a country in ignoredCountries prop (example: PK)
  2. Type in the phone number in that country in international format: +92 349 6866608
  3. Even if the country is not selectable in the drop-down list, this phone number goes past the validation

Expected behaviour

Step 3: The phone number of an ignored country should not be validated.

@Chernavskikh
Copy link
Contributor

Hello, maybe my PR will be helpful

@iamstevendao
Copy link
Owner

Thanks to @Chernavskikh, available in v5.0.4

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