Skip to content

Force baseAddress share component to reject non latin-1 on address fields #33467

Closed

Description

@mruff-aeq

The address-entry fields in the shared @bcrs-shared-components/base-address (BaseAddress.vue) component — street address, additional street line, city, region/province, and postal code — must reject any character outside the Latin-1 (ISO-8859-1) set when entered manually by typing or paste, while still accepting valid Latin-1 accented characters (e.g., é, à, ç as in "Montréal"). This covers the case of a user directly entering CJK/Chinese characters into these fields because they are not using the canada post address workflow.

QA Notes:
image.png
Ensure error message appears on non-latin1 text

Activity

  1. added
    Entities Team
    on May 17, 2026
  2. self-assigned this
    on May 17, 2026
  3. mruff-aeq commented on May 19, 2026

    @mruff-aeq
    CollaboratorAuthor

    please standby while we add to npm repo, and subsequently bump other views. will report here when done.

  4. mruff-aeq commented on May 22, 2026

    @mruff-aeq
    CollaboratorAuthor

    QA , Please test these versions of the UIs:
    Business create ui: 5.18.12
    Business edit ui: 4.17.9
    Business filings ui: 8.3.11

  5. self-assigned this
    on May 27, 2026
  6. mruff-aeq commented on May 28, 2026

    @mruff-aeq
    CollaboratorAuthor

    @vikas-gov @mstanton1 friendly reminder this ticket is to be stalled until a business analyst can confirm that this is what the business wants as per Megan Fedora's request

  7. mstanton1 commented on May 28, 2026

    @mstanton1
    Collaborator

    @dylan644 or @Mihai-QuickSilverDev do either of you have outreach with the business in the next few days to verify this is what the business wants? If not, let's add this to the Tues requirements meeting.

  8. dylan644 commented on May 28, 2026

    @dylan644

    @mstanton1 I'd suggest this is a good one to add to the Tuesday agenda....

  9. rsagpariya commented on May 28, 2026

    @rsagpariya
    Collaborator

    Verified on TEST:

    • The actual change is not deployed to TEST yet, but I have completed regression testing and it works as expected.
  10. gunanagar commented on Jun 4, 2026

    @gunanagar
    Collaborator

    Director Change in TEST:

    Characters such as é, à, ç, ñ, and ü are accepted.
    Characters outside the Latin-1 character set are rejected when typed or pasted.

    Screenshot 2026-06-04 at 12.03.17 PM.png

  11. mruff-aeq commented on Jun 5, 2026

    @mruff-aeq
    CollaboratorAuthor

    mark this as ready for qa, as everything is merged, we just need to wait for release in test

  12. rsagpariya commented on Jun 9, 2026

    @rsagpariya
    Collaborator

    Verified on TEST(working as expected - rejecting non latin-1 on address fields), ready for prod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities Team

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions