Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 595 Bytes

2023-07-12-improve-validation-in-customer-detail-address.md

File metadata and controls

8 lines (8 loc) · 595 Bytes
title issue
Improve validation in customer detail address
NEXT-25247

Administration

  • Changed isValidAddress method in sw-customer-detail-addresses component to dispatch error/addApiError.
  • Added watchers country.forceStateInRegistration and country.postalCodeRequired in sw-customer-address-form component to update the required flag of property.
  • Changed sw-text-field component with field name zipcode in src/module/sw-customer/component/sw-customer-address-form/sw-customer-address-form.html.twig to update required attribute by country.postalCodeRequired.