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
When saving an entry causes validation errors, the error messages in the summary above the form are anchor links that should scroll to the field in question:
I found that this no longer words if the error is inside a Matrix field. I've only checked Matrix fields that are set to display as inline blocks. Might also be an issue if the field is set to card or element index view.
Steps to reproduce
Create a Matrix field set to inline view and select an entry type with a required field.
On a new entry, create an entry in the Matrix field and leave the required field empty.
Save the entry.
Click on the link in the error summary about the empty required field.
Expected behavior
The links should always scroll to the field in question, even inside an inline matrix block.
Actual behavior
Clicking on the links doesn't do anything.
Craft CMS version
5.4.5.1
PHP version
8.3
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
I have tested this against a matrix field in an inline-editable blocks view mode, and it works as expected for the first-level matrix fields. However, it gets confused if the nesting gets deeper. I’ll have a look into that!
What happened?
Description
When saving an entry causes validation errors, the error messages in the summary above the form are anchor links that should scroll to the field in question:
I found that this no longer words if the error is inside a Matrix field. I've only checked Matrix fields that are set to display as inline blocks. Might also be an issue if the field is set to card or element index view.
Steps to reproduce
Expected behavior
The links should always scroll to the field in question, even inside an inline matrix block.
Actual behavior
Clicking on the links doesn't do anything.
Craft CMS version
5.4.5.1
PHP version
8.3
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: