bcgov / bcgov/entity

UX Bug - validations for MHR and PPR tables "Retrieve an existing registration..."

Open
#14,718 1 comment 0 reactions 0 assignees View on GitHub
Assets bug MHR PPR UX Assurance
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Scott noticed a few items that need updating to the **PPR TABLE's** "Retrieve an existing ..." search field.

**Existing screenshots:**

![Screen Shot 2022-12-13 at 11.57.29 AM.png](https://images.zenhubusercontent.com/5e1cd2cd5d67f0528e482520/94688758-3eec-439d-806c-8832d54dbcb6)

![Screen Shot 2022-12-13 at 11.57.18 AM.png](https://images.zenhubusercontent.com/5e1cd2cd5d67f0528e482520/323afe6a-3701-4609-a509-7ce5b005a644)

The same changes must be made in MHR (no special characters allowed either). Note the only difference is that a MHR number is 6 characters.

![image.png](https://images.zenhubusercontent.com/5ba90c7629a785544981da1c/9032df5f-5eda-4999-ba72-5875961aab2f)

![image.png](https://images.zenhubusercontent.com/5ba90c7629a785544981da1c/13559572-2e4a-421c-a4af-c48b318abf90)

- [ ] Update the search field validation to not allow special characters for MHR and PPR
- [ ] Include new invalid character message to show as soon as user types a special character which should say "Enter letters and numbers only" for MHR and PPR
- [ ] Update max character error validation for PPR to say "Maximum 7 characters" - which should only appear once the user types more than 7 (right now it's showing when the user starts typing anything)
- [ ] Update max character error validation for MHR to say "Maximum 6 characters" - which should only appear once the user types more than 7 (right now it's showing when the user starts typing anything)

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.