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

safer phoneNumber Helper #310

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

serkanyersen
Copy link

if value given to phoneNumber helper is not phone number, pre formatted number or something other than a phone number formatted value looks bad.

With this change, if output is not going to match (xxx) xxx-xxxx it simply won't do it.

this is to prevent things like

  • () -
  • (N/A) -
  • (som) e o-ther

kind of values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants