App: [HOLD for payment 2021-12-06] [$250] When creating new accounts, allow users to enter their phone numbers with - and/or ( ) and spaces

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

Flow 1:

  1. Navigate to NewDot
  2. Input a phone number as login using any of symbols -, (, ) or spaces (e.g. +1 (222) 222 2222)

Flow 2:

  1. Open concierge chat in NewDot
  2. Click the call icon on the top right
  3. Input a phone number as login using any of symbols -, (, ) or spaces (e.g. +1 (222) 222 2222)

Expected Result:

The user should be able to sign in or request a call from concierge just fine . The number input by the user should be cleaned before being sent to the back-end, stripping -, (, ) and spaces.

Actual Result:

We get validation errors

Screen Shot 2021-11-04 at 10 13 54 AM Screen Shot 2021-11-04 at 10 14 32 AM Screen Shot 2021-11-04 at 10 16 01 AM ## Platform: Where is this issue occurring? ALL

Version Number: Reproducible in staging?: Reproducible in production?: Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/183582# Issue reported by: Slack conversation:

View all open jobs on GitHub

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (12 by maintainers)

Most upvoted comments

Paid @parasharrajat $250 for the job and $250 for company offsite hold bonus. Thanks!