From 2d1d5754f781f0f3fa1bc296c9e69da416043c4a Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 2 Apr 2014 19:55:05 -0700 Subject: [PATCH] document that you have to add .active yourself on prechecked btn-ized checkboxes+radios; fixes #12651 --- docs/_includes/js/buttons.html | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html index 5af3742285..154320e48f 100644 --- a/docs/_includes/js/buttons.html +++ b/docs/_includes/js/buttons.html @@ -37,10 +37,14 @@

Checkbox

Add data-toggle="buttons" to a group of checkboxes for checkbox style toggling on btn-group.

+
+

Pre-checked options need .active

+

For pre-checked options, you must add the .active class to the input's label yourself.

+
-
{% highlight html %}
-