What happened?
Description
In a matrix field, if I create a nested entry and exit the panel, the new drafted card isn't added to the field.
And if the nested entry have a required field, an validation error will appear on publishing and the drafted field will now be added to the matrix field.
Here's a video of he problem : https://www.gauthier-robin.com/uploads/craftcms/draft-not-added.mov
Steps to reproduce
- Create a matrix field with an entrytype with a required field
- In the section with the field, create a new block and when the panel open, close it without filling the required field.
- The list should be empty
- Try to publish the changes
- A validation error appears and the entry draft is now shown
Expected behavior
The block list should refresh when the panel is closing
Actual behavior
The draft is invisible until the error is displayed
Craft CMS version
5.5.5
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
In a matrix field, if I create a nested entry and exit the panel, the new drafted card isn't added to the field.
And if the nested entry have a required field, an validation error will appear on publishing and the drafted field will now be added to the matrix field.
Here's a video of he problem : https://www.gauthier-robin.com/uploads/craftcms/draft-not-added.mov
Steps to reproduce
Expected behavior
The block list should refresh when the panel is closing
Actual behavior
The draft is invisible until the error is displayed
Craft CMS version
5.5.5
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions