Skip to content

Fix some deprecations#7442

Merged
javiereguiluz merged 1 commit intoEasyCorp:4.xfrom
javiereguiluz:fix_deprecations_4x
Feb 13, 2026
Merged

Fix some deprecations#7442
javiereguiluz merged 1 commit intoEasyCorp:4.xfrom
javiereguiluz:fix_deprecations_4x

Conversation

@javiereguiluz
Copy link
Copy Markdown
Collaborator

@javiereguiluz javiereguiluz commented Feb 12, 2026

This backports to 4.x many changes done in 5.x (#7432) to improve tests and fix deprecations.

Fixes #7369.

@javiereguiluz javiereguiluz merged commit f2926cf into EasyCorp:4.x Feb 13, 2026
@javiereguiluz javiereguiluz deleted the fix_deprecations_4x branch February 13, 2026 18:33
javiereguiluz added a commit that referenced this pull request Feb 28, 2026
…hen explicitly set to `false`. (dragosprotung)

This PR was merged into the 4.x branch.

Discussion
----------

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

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`.

Commits
-------

2a29887 Fix checkbox label condition to avoid rendering a label when explicitly set to `false`.
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.

"Symfony\Component\Translation\TranslatableMessage::__toString() is deprecated" in templates

1 participant