What happened?
Description
Editing users in a slideout and saving with cmd+s triggers an error. Saving via the Save button works as expected.
Steps to reproduce
- Open user element in a slideout (either from the users index page or Users field)
- Make a change to one of the fields
- cmd+s to save
- notice the warning appear in the top right corner of the slideout
The error is “Element could not be duplicated because it doesn’t validate.”.
The actual element errors that trigger this are:
- Username "u1" has already been taken.
- Email "[email protected]" has already been taken.
Expected behavior
Be able to change and save the user via a slideout using the cmd+s shortcut.
Actual behavior
Not able to save the user via a slideout using the cmd+s shortcut.
Craft CMS version
5.2.5
PHP version
8.1
Operating system and version
No response
Database type and version
mysql 8
Image driver and version
No response
Installed plugins and versions
What happened?
Description
Editing users in a slideout and saving with cmd+s triggers an error. Saving via the Save button works as expected.
Steps to reproduce
The error is “Element could not be duplicated because it doesn’t validate.”.
The actual element errors that trigger this are:
Expected behavior
Be able to change and save the user via a slideout using the cmd+s shortcut.
Actual behavior
Not able to save the user via a slideout using the cmd+s shortcut.
Craft CMS version
5.2.5
PHP version
8.1
Operating system and version
No response
Database type and version
mysql 8
Image driver and version
No response
Installed plugins and versions