Skip to content

Bugfix/15161 nested elements and error summary#15165

Merged
brandonkelly merged 11 commits into5.3from
bugfix/15161-nested-elements-and-error-summary
Jul 2, 2024
Merged

Bugfix/15161 nested elements and error summary#15165
brandonkelly merged 11 commits into5.3from
bugfix/15161-nested-elements-and-error-summary

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Jun 7, 2024

Description

When attempting to save the owner element, if there are errors in the nested elements inside a matrix field, show a top-level error for that field on the owner edit page.

Screenshot 2024-06-10 at 11 39 29 Screenshot 2024-06-10 at 11 40 23

This should happen for cards and element index view modes, and the inline-editable blocks should continue to show the nested entries errors.

Screenshot 2024-06-07 at 16 04 41

Additionally, if you open the nested entry in a slideout, it should be prevalidated and show the errors straight away, without having to save first.

Screenshot 2024-06-07 at 16 02 24 Screenshot 2024-06-10 at 11 39 53

This is a draft for now - to be discussed in the next meeting.

Related issues

@i-just i-just changed the base branch from 5.x to 5.2 June 10, 2024 10:09
@i-just i-just marked this pull request as ready for review June 10, 2024 10:43
@i-just i-just requested a review from brandonkelly June 10, 2024 10:43
@brandonkelly brandonkelly changed the base branch from 5.2 to 5.3 June 11, 2024 21:20
@brandonkelly brandonkelly merged commit fa332e7 into 5.3 Jul 2, 2024
@brandonkelly brandonkelly deleted the bugfix/15161-nested-elements-and-error-summary branch July 2, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants