-
Notifications
You must be signed in to change notification settings - Fork 71
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
VACMS-17863: Adds validation to ext field in phone paragraph. #20651
VACMS-17863: Adds validation to ext field in phone paragraph. #20651
Conversation
…ation-ext-field-in-phone-paragraph
Checking composer.lock changes... |
Checking composer.lock changes... |
GitHub Workflows (.github/workflows/*.yml)Have you...
|
Checking composer.lock changes... |
…' of github.com:department-of-veterans-affairs/va.gov-cms into VACMS-17863-add-validation-ext-field-in-phone-paragraph
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tabbing like crazy! Perfect.
@dsasser I run through screen reader, key board navigation. and some other A11y test with requirements! Also keyboard tabbing is perfectly fine. Approved ✅ |
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
Cypress Accessibility Violations
|
Christian let us know that the blocker for this PR, his phone extension migration scripts, have been run on prod so were are safe to merge. |
Description
Adds numeric validator and applies it to the extension field of the phone paragraph.
Also adds "input mask" for the extension field to ensure that only numbers (and some control characters) can be entered.
Relates to #17863
Testing done
Manual
Cypress
Unit
Screenshots
QA steps
Validate extension input mask when creating a new phone number:
As Content Admin
x1234
.x1234
.Validate extension input mask when editing an existing phone number:
x1234
.Validate backend validation on extension field:
x1234
x1234
in the 'Extension number' fieldDefinition of Done
Select Team for PR review
CMS Team
Public websites
Facilities
User support
Accelerated Publishing
Is this PR blocked by another PR?
Blocked by #20611
DO NOT MERGE
Does this PR need review from a Product Owner
Needs PO review