bootstrap-checkbox
bootstrap-checkbox copied to clipboard
With Bootstrap: Please do not use Bootstrap-checkbox element in label element.
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.