You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.
For whatever reason I cant get the Country value to populate the select control when I throw the pop up address form.
It's clearly saved but it doens't add the saved value to the control. It's empty. No errors.
I initially downloaded this theme about 7 months ago so I first made sure slate tools was updated to the latest. I then grabbed the latest addresses.js file from the repo and ran it against the stock address.liquid file. Same behavior.
The problem is that in addresses.liquid, the country select element has data-default="{{ form.country }}" which outputs the country name (eg. United States), whereas addresses.js expects that value to be the country ISO code (eg. US).
Not sure there is a way to output the country ISO code with Shopify Liquid..
For whatever reason I cant get the Country value to populate the select control when I throw the pop up address form.
It's clearly saved but it doens't add the saved value to the control. It's empty. No errors.
I initially downloaded this theme about 7 months ago so I first made sure slate tools was updated to the latest. I then grabbed the latest addresses.js file from the repo and ran it against the stock address.liquid file. Same behavior.
No errors.
I also tried this to no avail: #74 (comment)
The text was updated successfully, but these errors were encountered: