You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using react-phone-input-2 for handling phone numbers in my application. However, I have encountered a limitation that I'd like to discuss and potentially address.
Problem:
The library currently allows for 10-digit phone numbers, which works well for many regions. However, in Japan, some phone numbers can have 11 digits due to the introduction of the "080" prefix for mobile phones.
Proposed Solution:
I would like to propose a solution that allows for the input of 11-digit Japanese phone numbers while still maintaining compatibility with other regions. This change would accommodate users with 11-digit phone numbers without affecting the current functionality for 10-digit numbers or other regions.
Additional Information:
Including support for 11-digit Japanese phone numbers would enhance the usability of the library for users in Japan.
I am open to discussing and collaborating on this enhancement, whether it involves changes to the library's codebase or configuration options.
I look forward to hearing your thoughts on this matter and working together to find the best solution.
Thank you!
The text was updated successfully, but these errors were encountered:
There is a prop enableLongPhoneNumbers that I think allows input of 11-digit phone numbers, although it seems to just allow longer input, not specifically limited to 11
Issue Description:
I am currently using
react-phone-input-2
for handling phone numbers in my application. However, I have encountered a limitation that I'd like to discuss and potentially address.Problem:
The library currently allows for 10-digit phone numbers, which works well for many regions. However, in Japan, some phone numbers can have 11 digits due to the introduction of the "080" prefix for mobile phones.
Proposed Solution:
I would like to propose a solution that allows for the input of 11-digit Japanese phone numbers while still maintaining compatibility with other regions. This change would accommodate users with 11-digit phone numbers without affecting the current functionality for 10-digit numbers or other regions.
Additional Information:
I look forward to hearing your thoughts on this matter and working together to find the best solution.
Thank you!
The text was updated successfully, but these errors were encountered: