title | issue |
---|---|
Fix password field for new users is require |
NEXT-12268 |
- Added computed
mapPropertyErrors
insrc/module/sw-users-permissions/page/sw-users-permissions-user-create/index.js
to handle map property errors. - Added attribute
required
for thesw_settings_user_detail_content_password
block insw-users-permissions-user-create.html.twig
to set required password field. - Added attribute
:error="userPasswordError"
for thesw_settings_user_detail_content_password
block insw-users-permissions-user-create.html.twig
to handle error valid. - Added attribute
:error="userFirstNameError"
for thesw_settings_user_detail_content_first_name
block insw-users-permissions-user-detail.html.twig
to handle error valid. - Changed directive
v-model.trim
for thesw_settings_user_detail_content_email
block insw-users-permissions-user-detail.html.twig
. - Changed method
saveUser
insrc/module/sw-users-permissions/page/sw-users-permissions-user-detail/index.js
returns a Promise that is rejected.