Checkbox without label
See original GitHub issueUsing bootstrap-vue@2.0.0-rc.15
.
<b-form-checkbox>
requires a label to work properly. If label is empty, there’s extra padding/margin around the checkbox.
A workaround is to add plain
prop to <b-form-checkbox>
.
Here’s Bootstrap documentation on checkbox without labels: https://getbootstrap.com/docs/4.1/components/forms/#without-labels
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Styling a checkbox without the label tag - Stack Overflow
I made a checkbox style and it uses the label tag. See below. Is it possible to still have the CSS of the...
Read more >Why Your Checkboxes Need to Have Label Tags
All checkboxes have labels, but not all use label tags. This makes it hard for users to tick the checkbox. Without label tags,...
Read more >Checkbox with no label or ID - Material Design for Bootstrap
Hi, I have a table where I want to put a checkbox in one column in every row. There is a header at...
Read more >Toggle (checkbox without label) - CodePen
URL Extension Required. When linking another Pen as a resource, make sure you use a URL Extension of the type of code you...
Read more >Checkboxes won't render without label, and label needs to be ...
I've noticed that checkboxes only appear if they are coded like this: <input type="checkbox" id="checkboxid"><label for="checkboxid">Yes?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
checks and radios (individual ones), default to
stacked
mode, which will have vertical margins. Try setting theinline
prop@tmorehouse thanks for the quick update! for non-plain mode, adding
mr-0
removes the right margin, but there’s still a top space that makes the checkbox be placed like one line below the following inline elements. Not sure if you can reproduce it or you need an example