[UI-Extensions]: useApplyCartLinesChange hook triggers contact and zipcode form validlation

[UI-Extensions]: useApplyCartLinesChange hook triggers contact and zipcode form validlation

quentin-as
Shopify Partner
1 0 0

When a cart line item is added to the cart during checkout, form validation is triggered, and users are presented with validation errors indicating that contact information or zipcode is missing. This just started happening recently; it was working perfectly fine a few weeks ago.
And this is unexpected from my perspective, as the customer has not provided any input. 

The validation is likely trigged by the call of the `useApplyCartLinesChange` hook. I have noticed that other developers are also facing the same issue and have raised tickets on GitHub, but unfortunately, there has been no update or response.

Dear Team, could you kindly resolve this bug or suggest a potential solution for this issue?



quentinas_0-1720056872656.png

 

 

Reply 1 (1)

Liam
Shopify Staff
2873 312 821

Hi Quentin, 

 

Your best option would be to follow this GitHub issue for an update on this: https://github.com/Shopify/ui-extensions/issues/2069

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog