bcgov / entity

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

Failed validation for selecting province while filing a COD #1822

Closed ghost closed 4 years ago

ghost commented 5 years ago

Describe the bug While filing a COD, if I update my address of an existing director and select country as Canada, then Province should be required field.

Dev url: https://dev.bcregistry.ca/cooperatives/auth/ credentials:

To Reproduce

  1. Sign in as a Bcomp user
  2. On dashboard screen, click on change button under the current director section
  3. On change of director screen, click on the dropdown next to the cease button option for any existing director and select change address option
  4. Select country as Cameroon
  5. Empty the province/state input field for the same director
  6. Select country as Canada
  7. Select check box option for Mailing Address as Delivery Address or skip this step
  8. Click on done button

Actual Output User is able to update the address successfully

Expected Output For Province dropdown: This is a required field should be displayed

Visual Reference

Screen Shot 2019-11-08 at 11.59.49 AM.png

Screen Shot 2019-11-08 at 12.01.29 PM.png

severinbeauvais commented 4 years ago

@nitin-freshworks Please check if this bug still reproduces. In Dev, when I get to step 8, the Province field shows a validation error, "This field is required", and I cannot proceed. If you think bug is now fixed, please close it. Otherwise, please add extra information why this is still a bug. Thanks!

ghost commented 4 years ago

I tested this in dev and its fixed. Moving it to done.