bcgov / bcgov/entity

Auth - Province Field Restriction

Open
#24,709 1 comment 0 reactions 0 assignees View on GitHub
Pay
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Description
The Province field in the "Create Account" form is limited to 2 characters, even for countries where provinces/states have names longer than 2 characters (e.g., Mexico's "Tlaxcala").

Steps to Reproduce
Log in to any account.
Navigate to Create Account.
Proceed to Step 3 of the account creation process.
For Country, select a country other than Canada or the USA (e.g., "Mexico").
For Province, attempt to enter a province name longer than 2 characters (e.g., "Tlaxcala").
Expected Behavior
The Province field should allow province/state names longer than 2 characters for countries other than Canada and the USA.

Actual Behavior
The Province field restricts input to 2 characters, preventing valid province/state names for countries like Mexico.

image.png

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.