Skip to content
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

<va-telephone> component does not have enough flexibility to support various vanity phone numbers #2531

Open
2 of 6 tasks
laflannery opened this issue Feb 23, 2024 · 0 comments
Labels
bug Something isn't working platform-design-system-team

Comments

@laflannery
Copy link

Bug Report

  • I’ve searched for any related issues and avoided creating a duplicate issue.

What happened

When updating the vanity numbers in our products to use the <va-telephone> with the vanity prop we ran into a case that we use often that is not supported by the current component: 888-GIBILL-1 (888-442-4551)

This is used on the Education Benefits Hub landing page as well as at the bottom of multiple resources and support detail pages, possibly other places as well.

Currently the component only allows the vanity piece of the phone number to be the last 4 digits of the phone number, this pattern will not work for this phone number.

What I expected to happen

I would expect to be able to customize the vanity piece of the phone number in the component in cases where it is not the last for digits of the number.

Reproducing

  • Formation version:
  • Device: (e.g. iPhone 8, Macbook)
  • Browser: (e.g. Firefox, IE 11)

Steps to reproduce:

Urgency

How urgent is this request? Please select the approriate option below and/or provide details

  • This bug is blocking work currently in progress
  • This bug is affecting work currently in progress but we have a workaround
  • This bug is blocking work planned within the next few sprints
  • This bug is not blocking any work
  • Other

Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform-design-system-team
Projects
None yet
Development

No branches or pull requests

1 participant