Open simsben opened 3 weeks ago
@theindra Can you clarify what SEV-2
means on your end? Just wondering if this is something that someone is going to look at sooner rather than later?
👋 Thanks for reporting and supplying with example code! We'll triage this and take a look.
Hi @theindra @jun-shop ,
Any update on this? We're experiencing the exact same issue, and our customers are complaining. Hope it can be resolved soon.
@jun-shop Yes, can you provide an update? I was told by one of our Shopify contacts that this was "as designed" but this is something that changed recently. And customers/merchants are complaining about this as well. I understand the need to run the validation, but if the customer hasn't actually input anything or clicked through the checkout flow at all, this validation should not be happening, in my opinion.
Please list the package(s) involved in the issue, and include the version you are using
Describe the bug
When a cart line item is added or removed from the cart at checkout, the Contact and Shipping address form validation executes and the user is presented with validation errors on Email and Zip / postal code, e.g.
"Enter a valid email or a mobile phone number"
. This looks to be specific to theuseApplyCartLinesChange
hook. This also appears to be a more recent issue in the past day or two as we did not see this behavior with our app extensions until today.Steps to reproduce the behavior:
Expected behavior
The item should get added to the cart, and no form validation errors should be presented to the user.
Screenshots
Additional context
Some simple code that recreated this error: