title | issue |
---|---|
Add email validation when creating or updating a customer information in administration |
NEXT-13348 |
- Added new route
/api/_admin/check-customer-email-valid
intoShopware\Administration\Controller\AdministrationController
to validate email before submit when create/edit customer in administration.
- Added service
src/Administration/Resources/app/administration/src/core/service/api/customer-validation.api.service.js
- Added method
validateEmail
insw-customer-detail/index.js
- Added method
validateEmail
insw-customer-create/index.js
- Changed method
onSave
insw-customer-detail/index.js
to validate email before saving when edit a customer in administration. - Changed method
onSave
insw-customer-create/index.js
to validate email before saving when create a customer in administration.