You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Checkbox input should not have the form-control css class as bootstrap3 adds height=34px to form-control elements.
crispy-forms 1.14 introduced a bug in bootstrap3/field.html template that causes the form-control css class to be added to the input element when form_show_labels == False
A Checkbox input should not have the
form-control
css class as bootstrap3 addsheight=34px
toform-control
elements.crispy-forms 1.14 introduced a bug in
bootstrap3/field.html
template that causes theform-control
css class to be added to theinput
element whenform_show_labels == False
To reproduce, create a form with:
Rendered field has
form-control
css class, which styles a form-control-sized checkbox 34px tall.Use case: a formset view where items can be selected (i.e., each checkbox has no label)
This is easy to fix. I'll follow up with a PR shortly.
The text was updated successfully, but these errors were encountered: