-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Help block is not shown for a CheckboxType field #29135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Which form theme do you use? |
I use a custom layout that consist of a few lines: {% block form_label_class -%} col-sm-4 {%- endblock form_label_class %} {% block form_group_class -%} col-sm-8 {%- endblock form_group_class %} |
Would you like to create a small example application including your form theme that allows to reproduce the issue? |
So I guess you are extending the bootstrap themes, as only they have these blocks. The issue should be fixed in the Bootstrap v4, since #28113, but not sure about Bootstrap v3. |
@apfelbox yep, you are right, this bug is reproduced for the bootstrap_3_layout as basic, but if I use bootstrap_4_layout everything works fine |
Could you still create a small example application that allows to reproduce so we can see if and how we can fix it? |
I am going to close here for now due to the lack of feedback. Please let us know when you have more information and we can consider to reopen. |
Symfony version(s) affected: 4.1.0
Description
Help block is not shown for a CheckboxType field.
How to reproduce
Add some checkbox field in FormType
Create form in controller:
And print it in view template:
The text was updated successfully, but these errors were encountered: