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

Incorrect Phone Number Validation for Numbers Starting with +1310 #447

Open
firthowsa opened this issue Oct 9, 2024 · 1 comment
Open

Comments

@firthowsa
Copy link

Describe the bug
Users can only input a limited number of digits (4) after entering +1310, preventing them from entering longer, valid phone numbers.

Package version
[0.7.4]

Flutter version
Your current version of the Flutter SDK [3.22.0]

To Reproduce

  1. Open the phone number input field.
  2. Enter the country code +1 followed by 310.
  3. Attempt to input a phone number and observe the restriction to 4 digits.

Expected behavior
The input field should accept the correct number of digits for phone numbers starting with +1310.

Screenshots
If applicable, add screenshots to help explain your problem.

** Targeted platforms (please complete the following information):**

  • OS [e.g. Android, iOS, ...]
  • Web [✔ ]

Additional context
We are using the intl_phone_number_input package in our Flutter project. This issue specifically affects phone numbers starting with +1310 but may also apply to other country codes. Correct validation is crucial to ensure a smooth user experience.

@firthowsa firthowsa changed the title Issue:Incorrect Phone Number Validation for Numbers Starting with +1310 Incorrect Phone Number Validation for Numbers Starting with +1310 Oct 9, 2024
@kameshdhana
Copy link

Same issue here also, looks like last version was updated a year ago.

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