Skip to content

[6.x] Apply as-config prop to top-level container only#14855

Open
daun wants to merge 2 commits into
statamic:6.xfrom
daun:fix/config-fields-in-nested-container
Open

[6.x] Apply as-config prop to top-level container only#14855
daun wants to merge 2 commits into
statamic:6.xfrom
daun:fix/config-fields-in-nested-container

Conversation

@daun

@daun daun commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

This is an attempt at fixing #13685 where the as-config prop for field rendering is applied at all levels of nesting.

Required change

The grid/replicator/group field types already pass :as-config="false" down into their Fields instance, but the fields themselves only read the prop from the Container context. This change makes them read (and prefer) the prop from the closer Fields context.

Before

Screenshot 2026-06-21 at 09 00 40

After

Screenshot 2026-06-21 at 09 05 14

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.

1 participant