Staff Dashboard:Clicking into the input field and then clicking out triggers a validation error.
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
**Describe the bug in the current situation**
When the staff clicks on the "Incorporation, registration or Filing Number" field and then clicks out without providing an input then the error validation triggers even when the Search button is disabled which within itself acts as a pre-requisite to entering an Incorp number.
Steps to reproduce the behavior:
1. Go to 'https://dev.account.bcregistry.gov.bc.ca/staff/dashboard/active'
2. Navigate to Staff Dashboard
3. Now click on the Input field
4. Notice that the Validation message triggers.
**Expected behavior**
If the field has no input then the validation message should not appear
**Screenshots/ Visual Reference/ Source**
[Private Zenhub Video](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBME5NQ0E9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--3dd29c165bfab02a65f16159872a3d134b41639a/staff%20dashboard.mov)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the Staff Dashboard entry point at /staff/dashboard/active and reproduce the issue by focusing and leaving the “Incorporation, registration or Filing Number” field empty. Trace the field’s validation behavior and verify that no validation message appears until the field contains input or the search action is otherwise appropriate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100