From: Chris Rebert Date: Fri, 18 Jul 2014 18:48:00 +0000 (-0700) Subject: Document limitations of buttons JS plugin X-Git-Tag: v3.3.0~303^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=976441ac1bad923a718d9db355153954b067f01a;p=thirdparty%2Fbootstrap.git Document limitations of buttons JS plugin Addresses #14148. --- diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html index ee5b3d71d2..dbacb632c0 100644 --- a/docs/_includes/js/buttons.html +++ b/docs/_includes/js/buttons.html @@ -41,6 +41,10 @@

Pre-checked options need .active

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

+
+

Visual checked state only updated on click

+

If the checked state of a checkbox button is updated without firing a click event on the button (e.g. via <input type="reset"> or via setting the checked property of the input), you will need to toggle the .active class on the input's label yourself.

+
+
+

Visual checked state only updated on click

+

If the checked state of a radio button is updated without firing a click event on the button (e.g. via <input type="reset"> or via setting the checked property of the input), you will need to toggle the .active class on the input's label yourself.

+