Skip to content

Conversation

@ManukMinasyan
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings December 3, 2025 15:27
@ManukMinasyan ManukMinasyan merged commit 7e828d6 into 2.x Dec 3, 2025
3 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for controlling section wrapping behavior in form builders and ensures consistent layout styling across section types. The primary goal is to respect section types when building forms while providing flexibility to render fields with or without section wrappers.

Key changes:

  • Adds columnSpanFull() styling to Section and Fieldset components for consistent full-width layout
  • Introduces withoutSections() method to conditionally disable section wrapping in form generation
  • Refactors FormBuilder.values() to support both flat and sectioned field structures

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
SectionInfolistsFactory.php Adds columnSpanFull() to Section and Fieldset components to ensure full-width display in infolists
SectionComponentFactory.php Adds columnSpanFull() to Section and Fieldset components for consistent layout in forms
FormContainer.php Adds withoutSections property and method to control section wrapping behavior
FormBuilder.php Implements conditional section wrapping logic with new withoutSections() method and refactored values() method to support both flat and sectioned structures

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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