Shopify / ui-extensions

MIT License
248 stars 35 forks source link

address2 field not updating when using applyShippingAddressChange method for Costa Rica #2083

Closed HasanArmstrong closed 1 week ago

HasanArmstrong commented 2 weeks ago

Please list the package(s) involved in the issue, and include the version you are using

"react": "^18.0.0", "@shopify/ui-extensions": "2024.4.x", "@shopify/ui-extensions-react": "2024.4.x"

Describe the bug

When selecting Costa Rica in the country dropdown (other countries it works), the address2 field on checkout is not updating when using applyShippingAddressChange method to update the shipping address inputs value however it returns a successful response and no error messages. The other fields (address1, zip, city, provinceCode) are being updated successfully.

Steps to reproduce the behavior:

  1. Select Costa Rica in country dropdown
  2. Use applyShippingAddressChange method to update address2 field value on checkout
  3. Notice the address2 field is not updating

Expected behavior

Expect the address2 field value to be updated with the value from applyShippingAddressChange for Costa Rica

Screenshots

Screenshot 2024-06-14 at 11 50 13 AM Screenshot 2024-06-14 at 11 56 51 AM

Additional context

jsia18 commented 2 weeks ago

This also happens to me even after updating address2 field, it does not get updated same with other countries in my case Philippines

jamesvidler commented 1 week ago

This issue should be resolved. Can you confirm you are no longer experiencing it?

jsia18 commented 1 week ago

I can confirm on my end that it was resolved

jamesvidler commented 1 week ago

@HasanArmstrong feel free to re-open this issue if you continue to experience any issues.

HasanArmstrong commented 6 days ago

@jamesvidler Fixed. Thank you for resolving this quickly!