Skip to content

fix(plugin-nested-docs): throw an error to the UI if children are not passing validation - #7977

Merged
paulpopus merged 1 commit into
betafrom
fix/nested-docs-plugin-unclear-error-with-invalid-children
Aug 30, 2024
Merged

paulpopus merged 1 commit into
betafrom
fix/nested-docs-plugin-unclear-error-with-invalid-children

Conversation

@paulpopus

Copy link
Copy Markdown
Member

No description provided.

@paulpopus
paulpopus enabled auto-merge (squash) August 30, 2024 02:31
@paulpopus paulpopus changed the title fix(nested-docs-plugin): throw an error to the UI if children are not passing validation fix(plugin-nested-docs): throw an error to the UI if children are not passing validation Aug 30, 2024
@paulpopus
paulpopus merged commit e033488 into beta Aug 30, 2024
@paulpopus
paulpopus deleted the fix/nested-docs-plugin-unclear-error-with-invalid-children branch August 30, 2024 02:48
lucaspretti added a commit to lucaspretti/payload that referenced this pull request Oct 7, 2026
Without drafts, each child is validated in the locale being saved. A
child with no value there for a required localized field now fails the
parent save (payloadcms#7977) instead of getting the fallback locale's value
copied into that locale. The categories name is localized so the test
can show it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant