title | issue |
---|---|
Reload mandatory marker when switching country |
NEXT-21490 |
- Added JSON property
zipcodeRequired
for routefrontend.country.country.data
inStorefront/Controller/CountryStateController.php
- Added method
updateRequiredZipcode
inStorefront/Resources/app/storefront/src/plugin/forms/form-country-state-select.plugin.js
to handle reloading marker for postal code field when switching country - Changed method
updateStateSelect
inStorefront/Resources/app/storefront/src/plugin/forms/form-country-state-select.plugin.js
to handle adding/remove * in zipcodeField - Changed block
component_address_form_zipcode_label
andcomponent_address_form_zipcode_input
inStorefront/Resources/views/storefront/component/address/address-form.html.twig
to handle reloading marker for postal code field when switching country