You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing some unexpected behavior when using an entry field within a matrix that's used in a category. When I want to reorganize or replace some or all entries in the matrix field, it always changes back to the initial state. For example, when replacing selected entries in the matrix field, they change back to the original entries after saving the category. This behavior also occurs when reorganizing the order of the selected entries. I did however notice that the same matrix field works perfectly fine in an entry, as well as in a draft of a category. This issue is also reflected on the frontend. It's not just a visual bug.
Steps to reproduce
Create a new matrix field
Add a field for entries
Add the matrix field to a category
Add a few entries to the matrix field
Save the category
Edit the ordering of the selected entries in the matrix block
(optional) remove some or all selected entries
Save the category
Expected behavior
The matrix field updates the ordering of the selected entries
Actual behavior
The matrix field goes back to the initial state
Craft CMS version
4.0.4
PHP version
8.1.5
Operating system and version
MacOS 12.4
Database type and version
MySQL 5.7.34
Image driver and version
GD 8.1.5
Installed plugins and versions
Asset Rev 7.0.0
CP Field Inspect 1.4.4
Element API 3.0.0
Feed Me 5.0.4
Knock Knock 2.0.0-beta.1
Redactor 3.0.0
SEOmatic 4.0.1
Super Table 3.0.0-beta.5
Typed link field 2.1.3-rc
Videos 3.0.0-beta.1
The text was updated successfully, but these errors were encountered:
What happened?
Description
I'm experiencing some unexpected behavior when using an entry field within a matrix that's used in a category. When I want to reorganize or replace some or all entries in the matrix field, it always changes back to the initial state. For example, when replacing selected entries in the matrix field, they change back to the original entries after saving the category. This behavior also occurs when reorganizing the order of the selected entries. I did however notice that the same matrix field works perfectly fine in an entry, as well as in a draft of a category. This issue is also reflected on the frontend. It's not just a visual bug.
Steps to reproduce
Expected behavior
The matrix field updates the ordering of the selected entries
Actual behavior
The matrix field goes back to the initial state
Craft CMS version
4.0.4
PHP version
8.1.5
Operating system and version
MacOS 12.4
Database type and version
MySQL 5.7.34
Image driver and version
GD 8.1.5
Installed plugins and versions
The text was updated successfully, but these errors were encountered: