Create UI: email and shares validation errors displaying at the wrong time in an IA
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
**Describe the bug in current situation**
Email address and shares input field validation errors show up at the wrong time in an IA
**Impact of this bug**
This doesn't prevent the user from entering their information, but it is indicating a false state telling the user they entered something incorrectly when that is not the case.
**Chance of Occurring (high/medium/low/very low)**
It happens everytime I am open an incorporation application in dev environment.
**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**
**Steps to Reproduce**
Steps to reproduce the behavior:
1. Go to Name Request and submit an NR or choose numbered company
2. Click button to start incorporation application
3. Scroll down to Email Address Section and observe the validation error display once you start typing characters
3. Go to shares page and observe validation error display as soon as you click 'add shares'
Behavior observed in
- Test Environment logged in with IDIR
- Dev Environment logged in with BC Services Card
**Actual/ observed behavior/ results**
Email address and shares input field validation errors show up at the wrong time in an IA
**Expected behavior**
Valid email error for 'Email Address' or 'Confirm Email Address' input fields
- triggers on blur - when the user selects a different input field AFTER they have entered text into the email address field. Stop Displaying as soon as the user resolves the validation error.
Confirm Email Input Field:
- Display 'Email addresses must match' error only when system detects the email is different than what's entered in the 'Email Address Field'
Share Structure
- only display the 'field is required' errors once the user hit's done button on the add shares form
**Screenshots/ Visual Reference/ Source**
[Private Zenhub Video](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBMC9xQ2c9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--0a62dea03f22c861865be688a4903d29de6aeeda/Screen%20Recording%202025-07-31%20at%203.58.13%E2%80%AFPM.mov)

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.