Skip to content

[6.x] Allow collapsible form groups to start expanded - #19772

Merged
riasvdv merged 2 commits into
6.xfrom
extract/19665-expanded-form-groups-retry
Oct 1, 2026
Merged

riasvdv merged 2 commits into
6.xfrom
extract/19665-expanded-form-groups-retry

Conversation

@riasvdv

@riasvdv riasvdv commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Description

Adds Group::expanded() so collapsible section groups can start expanded in both Vue and PHP-rendered forms. Groups remain collapsed by default, and non-collapsible groups and groups rendered as fields ignore this option.

Vue binds the disclosure's opened property directly, preserving boolean semantics. This extracts only the expanded-group capability from #19665 and adds PHP renderer parity.

Related issues

riasvdv and others added 2 commits October 1, 2026 10:11
Co-authored-by: Nathaniel Hammond <nathaniel@pixelandtonic.com>
Co-authored-by: Nathaniel Hammond <nathaniel@pixelandtonic.com>
@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

📚 Storybook previews

@craftcms/ui — open Storybook

No changed components detected in this Storybook.

resources/js — open Storybook

No changed components detected in this Storybook.

@riasvdv
riasvdv merged commit ed195f1 into 6.x Oct 1, 2026
23 checks passed
@riasvdv
riasvdv deleted the extract/19665-expanded-form-groups-retry branch October 1, 2026 08:24
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