bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 59 forks source link

Email Verification error messages showing too early - Entities #15965

Open janisrogers opened 1 year ago

janisrogers commented 1 year ago

Describe the bug in current situation

User is getting a validation error as they are typing their email address. Error validation messages should only occur once the user has finished entering their information and moved to another field.

Impact of this bug

This impacts all users and suggests they are doing something wrong. Occurs Benefit company and Cooperative incorporation (Registered Office Contact Information) Sole Proprietor/General Partnership Registration (Business Contact Information) Benefit Company , SP/GP and Coop (Edit Business Profile)

Probably any others that use this component (I assume it is common).

However, this error does NOT occur in: Benefit Company , SP/GP, Coop- View and Change Business Information - Registered Office Contact Information

Steps to Reproduce

  1. Go to incorporation application in test 2.Under Registered Office Contact Information, begin typing an email address
  2. See error

Expected behavior

Given I am a user When I am entering my email address Then I expect to not see any errors until I have completed typing in the field. (Don't show valid email is required until I have moved out of the first email box, and don't show email addresses must match until I have moved out of the second box.)

Screenshots/ Visual Reference/ Source

image.png

jdyck-fw commented 1 year ago

@Mihai-QuickSilverDev will tag this to an epic