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
Describe the bug
The current phone number validation for Argentina only supports 10 digits after the country code (54), as defined by the mask ['Argentina', 'ar', '54', '(..) ........', 0]. However, Argentinian mobile numbers, especially when dialed from abroad, include an additional "9" between the country code and the city code, leading to numbers having 11 digits post-country code. This is not accommodated by the current validation, causing issues for users with such numbers.
Try to enter an Argentinian phone number with 11 digits (e.g., 54 9 11 xxxx xxxx for Buenos Aires).
Notice that the input field restricts the entry to only 10 digits
Expected behavior
The phone number validation for Argentina should support both 10-digit and 11-digit numbers after the country code to accommodate the current format of mobile numbers.
Question
Is there a workaround or a method to disable the length check in usePhoneInput for Argentinian numbers? Many of our users in Argentina have phone numbers that do not match the current validation rule
The text was updated successfully, but these errors were encountered:
Describe the bug
The current phone number validation for Argentina only supports 10 digits after the country code (54), as defined by the mask ['Argentina', 'ar', '54', '(..) ........', 0]. However, Argentinian mobile numbers, especially when dialed from abroad, include an additional "9" between the country code and the city code, leading to numbers having 11 digits post-country code. This is not accommodated by the current validation, causing issues for users with such numbers.
Examples of Argentinian Numbers Not Supported:
54 9 11 xxxx xxxx (Buenos Aires)
54 9 xxx xxx xxxx (Larger cities)
54 9 xxxx xx xxxx (Smaller cities)
To Reproduce
Expected behavior
The phone number validation for Argentina should support both 10-digit and 11-digit numbers after the country code to accommodate the current format of mobile numbers.
Question
Is there a workaround or a method to disable the length check in usePhoneInput for Argentinian numbers? Many of our users in Argentina have phone numbers that do not match the current validation rule
The text was updated successfully, but these errors were encountered: