bcgov / bcgov/entity

UI Design - Validation for NR in the name request modals

Open
#5,204 13 comments 0 reactions 1 assignee Claimed by @janisrogers View on GitHub
ENTITY - DO NOT USE UX
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Determine the validation for entry of the NR number in the modals. This should be the same for all places where the modals appear (in Name Request, Correction filing, Business Dashboard, alteration filing, change of name filing, etc.

Normalize all inputs to display as NR xxxxxxx (eg NR 1234567) in the NR number field

Allow the following:
number only "1234567"
NR with no space before number "NR1234567"
nr in lowercase "nr1234567","nr 1234567"
NR with single or multiple spaces before number "NR 1234567"," nr 1234567", "NR 1234567"
number only with leading or trailing spaces " 1234567","1234567 "
Preceding and Trailing spaces with or without NR should be allowed but normalized
~We should also normalize if there is a space in the middle. 'NR 12 34567'~

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.