bcgov / bcgov/entity

BUG - MHR Phone number cursor moves to the end of the input field when editing a phone number (all forms)

Open
#13,602 1 comment 0 reactions 0 assignees View on GitHub
Assets bug MHR Review with Business
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

When editing the phone number the cursor moves to the end of the input field without user placing it there.
Steps to reproduce:

1. Enter a complete phone number in Submitting Party or Owner
2. Erase the area code - enter a new area code
3. The cursor moves to the end of the input field after entering one or more characters

Impact: users may enter an incorrect phone number without realizing and we wouldn't be able to contact them.
Likelihood of occurrence: High

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in the Submitting Party and Owner phone-number forms, following the listed steps while observing the cursor position. Trace the shared phone input handling used by those forms; done means editing the area code no longer moves the cursor to the end and the behavior is consistent across all forms.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.