bcgov / bcgov/entity

Filings UI shows incorrect phone number formatting

Open
#8,473 1 comment 0 reactions 0 assignees View on GitHub
bug ENTITY - DO NOT USE Priority3
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

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

![image.png](https://images.zenhubusercontent.com/5d0a7edda4644173e93bf808/93c14d8c-9a9b-4edb-95b9-13909439db0c)

**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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.