Skip to content

Commit 68b5682

Browse files
committed
Update JS-powered buttons docs to include single button example
Closes #25067
1 parent 2416801 commit 68b5682

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

docs/4.0/components/buttons.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,9 @@ The checked state for these buttons is **only updated via `click` event** on the
123123
Note that pre-checked buttons require you to manually add the `.active` class to the input's `<label>`.
124124

125125
{% example html %}
126-
<div class="btn-group btn-group-toggle" data-toggle="buttons">
126+
<div class="btn-group-toggle" data-toggle="buttons">
127127
<label class="btn btn-secondary active">
128-
<input type="checkbox" checked autocomplete="off"> Active
129-
</label>
130-
<label class="btn btn-secondary">
131-
<input type="checkbox" autocomplete="off"> Check
132-
</label>
133-
<label class="btn btn-secondary">
134-
<input type="checkbox" autocomplete="off"> Check
128+
<input type="checkbox" checked autocomplete="off"> Checked
135129
</label>
136130
</div>
137131
{% endexample %}

0 commit comments

Comments
 (0)