Closed marcovtwout closed 9 years ago
Hey @marcovtwout could you put the assignment of the $checked
variable inside the if statement and we're good to go. I don't know why Scrutinizer timed out.
I moved $checked =
further down to the place where it is used. Where exactly do you suggest it would be moved? Note that $checked still needs to be assigned and passed to self::checkBox or self:radioButton.
@crisu83 shall I merge this myself?
I can merge it.
Fix: mark checked button in button group as active, consistent to official bootstrap example.
Docs: http://getbootstrap.com/javascript/#buttons-checkbox-radio Quote:
For preselected options, you must add the .active class to the input's label yourself.
Example code: