vsn4ik / bootstrap-checkbox

A checkbox component based on Bootstrap framework.

Home Page:https://vsn4ik.github.io/bootstrap-checkbox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

With Bootstrap: Please do not use Bootstrap-checkbox element in label element.

JorgeSivil opened this issue · comments

Bootstrap puts, in the examples, the input inside the label. Then this error pops up.

<label class="required"><input id="register_financier_practice_association_financier_practice_enabled" name="register_financier_practice_association[financier_practice_enabled]" required="required" value="1" type="checkbox"> Habilitada</label>

I will have to remove it via JavaScript and create separately, because I'm using Symfony Forms component and I found no way to stop it creating Input inside label. Even with label => false, it creates an empty label element.