cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
35 stars 13 forks source link

AddressComplete: Correcting an address does not repopulate fields with new address #4577

Open anikbrazeau opened 2 weeks ago

anikbrazeau commented 2 weeks ago

Description

Selecting the wrong address or changing the address does not seem to get picked up by the autofilled fields, to match the "lookup street address" field

Steps to reproduce

  1. Go to Staging > Auth > Edit
  2. Add address component
  3. Go to "Test"
  4. Type in an address, select it
  5. Type in a completely different address
  6. Notice the fields don't pick up the new city, province, postal code

Details

Expected behaviour

Dynamic, responsive, accurate lookup that matches what gets displayed and corrects address as user modifies.

Screenshots or videos

Private Zenhub Video

ShadeWyrm commented 2 weeks ago

This seems to be related to the form in #4598, need to validate and test more.