diff options
| author | Mark Otto <[email protected]> | 2017-12-24 14:26:52 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-12-28 10:19:27 -0800 |
| commit | be3aa437a11dbe625ba401ad3c1ea3b57af30f78 (patch) | |
| tree | 4fee4755aab772494a38d44341bf28a1e8dc15fa | |
| parent | 1171e175c0342799ae0ad6d569f9818204f0eb8e (diff) | |
| download | bootstrap-be3aa437a11dbe625ba401ad3c1ea3b57af30f78.tar.xz bootstrap-be3aa437a11dbe625ba401ad3c1ea3b57af30f78.zip | |
add note about single vs group
| -rw-r--r-- | docs/4.0/components/buttons.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/buttons.md b/docs/4.0/components/buttons.md index f7ac8e762..60373be6c 100644 --- a/docs/4.0/components/buttons.md +++ b/docs/4.0/components/buttons.md @@ -116,7 +116,7 @@ Add `data-toggle="button"` to toggle a button's `active` state. If you're pre-to ### Checkbox and radio buttons -Bootstrap's `.button` styles can be applied to other elements, such as `<label>`s, to provide checkbox or radio style button toggling. Add `data-toggle="buttons"` to a `.btn-group` containing those modified buttons to enable their toggling behavior via JavaScript and add `.btn-group-toggle` to style the `<input>`s within your buttons. +Bootstrap's `.button` styles can be applied to other elements, such as `<label>`s, to provide checkbox or radio style button toggling. Add `data-toggle="buttons"` to a `.btn-group` containing those modified buttons to enable their toggling behavior via JavaScript and add `.btn-group-toggle` to style the `<input>`s within your buttons. **Note that you can create single input-powered buttons or groups of them.** The checked state for these buttons is **only updated via `click` event** on the button. If you use another method to update the input—e.g., with `<input type="reset">` or by manually applying the input's `checked` property—you'll need to toggle `.active` on the `<label>` manually. |
