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

Using bootswitch in bootstrap form-group #650

Open
rykr opened this issue Sep 16, 2017 · 1 comment
Open

Using bootswitch in bootstrap form-group #650

rykr opened this issue Sep 16, 2017 · 1 comment

Comments

@rykr
Copy link

rykr commented Sep 16, 2017

My forms show labels on top of the controls but the bootswitch shows next to my label. Also it has the class form-control but the height of the switch is a bit less than the other controls.

I checked the documentation but couldn't see that I'm doing anything wrong. Any advice?

@MightyGorilla
Copy link

I know you're not still working on this, but just leaving this for anyone searching...

I didn't see any problems with BS4. This is the structure of form-group that I used.

<div class="form-group">
     <label class="col-form-label" for="switch">Switch</label>
     <div class="checkbox">
         <input type="checkbox" id="switch" name="switch">
     </div>
</div>

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

2 participants