-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Feature]: Restrict Phone Number Length Based on Country Selection in Phone Widget #34787
Comments
hello @Nikhil-Nandagopal |
@Harshithazemoso it should work exactly like max characters in the input widget |
okay sure @Nikhil-Nandagopal |
We are considering naming the field "Max Length" and adding it to the validation section, similar to the input widget. Could you please review and let us know if we can proceed with this approach? Thank you! |
Is there an existing issue for this?
Description
In the current implementation of the phone widget, users can select a country and type a phone number. However, the widget allows users to enter more digits than permitted for the selected country. For example, Indian phone numbers should only have 10 digits, but the current widget allows more than 10 digits. To enhance the user experience and ensure accurate phone number inputs, we need to restrict the number of digits based on the selected country.
Steps to reproduce
Screenshot
The text was updated successfully, but these errors were encountered: