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

Checkbox label with a-tag does not work #57

Open
aheadware opened this issue Nov 5, 2019 · 1 comment
Open

Checkbox label with a-tag does not work #57

aheadware opened this issue Nov 5, 2019 · 1 comment

Comments

@aheadware
Copy link

Refer to following code.

Checkbox and rest of the label text does not toggle the checkbox anymore.

<div class="form-group"> <div class="form-check"> <label class="form-check-label"> <input class="form-check-input" type="checkbox"> Check me out at <a href="http://google.de">Google</a> <span class="form-check-sign"> <span class="check"></span> </span> </label> </div> </div>

@dragosct
Copy link
Member

dragosct commented Nov 7, 2019

Hi, @aheadware! Thank you for using our products and sorry for the late response. The code is working but you have to move the a tag in front of the input tag like this:

Screenshot 2019-11-07 at 12 10 52

Regards,
Dragos

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

No branches or pull requests

1 participant