Skip to content

Fix checkbox label condition to avoid rendering a label when explicitly set to false.#7468

Merged
javiereguiluz merged 1 commit intoEasyCorp:4.xfrom
dragosprotung:fix/checkbox-label
Feb 28, 2026
Merged

Fix checkbox label condition to avoid rendering a label when explicitly set to false.#7468
javiereguiluz merged 1 commit intoEasyCorp:4.xfrom
dragosprotung:fix/checkbox-label

Conversation

@dragosprotung
Copy link
Copy Markdown
Contributor

During #7442 the label rendering has been changed to avoid deprecations, but now setting a form field label to false will still render the fallback label.
This is because before the fallback was rendered only if not false.

@dragosprotung dragosprotung changed the base branch from 5.x to 4.x February 27, 2026 10:43
@javiereguiluz javiereguiluz added this to the 4.x milestone Feb 28, 2026
@javiereguiluz
Copy link
Copy Markdown
Collaborator

You are right. Thanks Dragos!

@javiereguiluz javiereguiluz merged commit 00d294f into EasyCorp:4.x Feb 28, 2026
5 of 16 checks passed
@dragosprotung dragosprotung deleted the fix/checkbox-label branch March 1, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants