Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

konradkozaczenko
Copy link
Contributor

@konradkozaczenko konradkozaczenko commented May 20, 2022

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #28086
License MIT
Doc PR

When using bootstrap_4_horizontal_layout.html and ChoiceType on a form with expanded and multiple options, the checkbox list is rendered, but no errors are displayed. My changes only affect bootstrap version 4. Bootstrap 5 already has these changes.

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 6.1 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@nicolas-grekas
Copy link
Member

Thank you @konradkozaczenko.

@nicolas-grekas nicolas-grekas merged commit 5b265a0 into symfony:4.4 May 21, 2022
@@ -49,6 +49,7 @@ col-sm-2
<div class="{{ block('form_group_class') }}">
{{- form_widget(form, widget_attr) -}}
{{- form_help(form) -}}
{{- form_errors(form) -}}
Copy link
Member

Choose a reason for hiding this comment

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

Is this really necessary as the errors should be rendered when the label is rendered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants