Skip to content
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

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

Open
JorgeSivil opened this issue Mar 26, 2017 · 0 comments

Comments

@JorgeSivil
Copy link

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.

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

No branches or pull requests

1 participant