department-of-veterans-affairs / vets-website

Frontend for VA.gov
Creative Commons Zero v1.0 Universal
242 stars 125 forks source link

#vebt-815 #comment Changed phone schema pattern in 22-10282 #33063

Open govcioChad opened 5 days ago

govcioChad commented 5 days ago

Are you removing, renaming or moving a folder in this PR?

Summary

- (Summarize the changes that have been made to the platform)

Related issue(s)

Jira -> https://jira.devops.va.gov/browse/VEBT-815

Issue -> On the STEP 1: Your personal information of the 22-10282 form, if you enter a phone number with dashes (xxx-xxx-xxxx) & brackets for area code ((444)-444-4444) you get the validation warning "Please enter a 10-digit phone number (with or without dashes)" that blocks continuation of the form.

Fix -> Remove the validation when a user enters a phone number that includes dashes. Please see image below.

Testing done

- Describe what the old behavior was prior to the change

Screenshots

Note: This field is mandatory for UI changes (non-component work should NOT have screenshots).

Before: image

After: image

What areas of the site does it impact?

(Describe what parts of the site are impacted if code touched other areas)

Acceptance criteria

Quality Assurance & Testing

Error Handling

Authentication

Requested Feedback

(OPTIONAL) What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?