cc-pricing-header
(7.13.0): default value is not set when using the smart component
#791
Labels
bug
Something isn't working
Context
With the update of the shoelace component (see #782), the default value of the zone select is not set properly when using the smart component (on the website for instance).
This is because the
zoneId
prop is set by the smart before thezones
prop is set. We set the value of the shoelace component before it generates its option.We've had a similar issue with our own
cc-select
and we decided to quickfix this using the same logic: rely on theupdate
hook to set the value with native JS everytimezones
is updated.The text was updated successfully, but these errors were encountered: