title | issue |
---|---|
Improve validation in customer detail address |
NEXT-25247 |
- Changed
isValidAddress
method insw-customer-detail-addresses
component to dispatcherror/addApiError
. - Added watchers
country.forceStateInRegistration
andcountry.postalCodeRequired
insw-customer-address-form
component to update the required flag of property. - Changed
sw-text-field
component with field namezipcode
insrc/module/sw-customer/component/sw-customer-address-form/sw-customer-address-form.html.twig
to update required attribute bycountry.postalCodeRequired
.