aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/components/buttons.md10
1 files changed, 2 insertions, 8 deletions
diff --git a/docs/4.0/components/buttons.md b/docs/4.0/components/buttons.md
index 02feb1cb2..f7ac8e762 100644
--- a/docs/4.0/components/buttons.md
+++ b/docs/4.0/components/buttons.md
@@ -123,15 +123,9 @@ The checked state for these buttons is **only updated via `click` event** on the
Note that pre-checked buttons require you to manually add the `.active` class to the input's `<label>`.
{% example html %}
-<div class="btn-group btn-group-toggle" data-toggle="buttons">
+<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
- <input type="checkbox" checked autocomplete="off"> Active
- </label>
- <label class="btn btn-secondary">
- <input type="checkbox" autocomplete="off"> Check
- </label>
- <label class="btn btn-secondary">
- <input type="checkbox" autocomplete="off"> Check
+ <input type="checkbox" checked autocomplete="off"> Checked
</label>
</div>
{% endexample %}