Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Problem with phone validation on mobile devices
Problem with phone validation on mobile devices
ID: 964802
Backlog
Published on 1/12/2024
Last update on 1/12/2024

Summary

The phone field validation on mobile devices is not behaving as intended. When the expected number of characters is reached, the validation correctly marks the field with a check. However, when additional characters are added and then removed one by one, the validation fails to recognize that the character count is still higher than expected, incorrectly marking the entry as valid. The validation also marks inputs with fewer characters than expected as valid.

Simulation

  1. Navigate to the checkout page by purchasing any random item.
  2. During the profile step, input a phone number until the field is validated and marked with a check.
  3. Experiment by adding more characters to the phone number and then removing them one by one, observing how the field retains the checkmark even with a reduced number of characters compared to the initial validation.

Workaround

N/A

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback