bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

Filings UI shows incorrect phone number formatting #8473

Open severinbeauvais opened 3 years ago

severinbeauvais commented 3 years ago

Describe the bug in current situation The Filings UI incorrectly formats the phone number when displaying the NR for an IA:

image.png

Link bug to the User Story N/A

Impact of this bug Minor, visual only.

Chance of Occurring (high/medium/low/very low) Occurs always, but results depend on the subject phone number.

Pre Conditions: which Env, any pre-requesites or assumptions to execute steps? An approved NR where the phone number doesn't follow the usual format (whatever that is).

Steps to Reproduce Steps to reproduce the behavior:

  1. Create NR and approve it if needed
  2. Affiliate the NR
  3. Open the NR (from the Manage Businesses dash) to create a draft IA
  4. Show IA/NR details to see error

Actual/ observed behavior/ results See screenshot above.

Expected behavior I think we decided to forgo any phone number formatting, so that users can enter whatever they want.

Screenshots/ Visual Reference/ Source See screenshot above.

severinbeauvais commented 3 years ago

Perhaps at the same time as this ticket, we could also implement the ticket to suggest to users that they enter an unformatted phone number in Name Request UI (ie, if the format doesn't match when they search then they won't find their NR; suggesting "no format" should increase the changes of users entering the same phone number initially and during search).

There is a ticket for the above but I don't have the number handy atm.