martin-g / wicket-bootstrap

Apache Wicket components for Twitter Bootstrap - Wicket-Bootstrap is based on Twitter's toolkit (bootstrap) and the Apache Wicket Framework.
https://wicketbootstrap.teliclab.info/
296 stars 162 forks source link

ButtonGroup should support Checkbox/Radio #515

Open mrijke opened 9 years ago

mrijke commented 9 years ago

According to http://getbootstrap.com/javascript/#buttons-checkbox-radio, button groups can hold checkboxes and radio buttons and toggle the 'active' class accordingly.

Currently the ButtonGroup expects a List, would be nice if it could also support BootstrapCheckbox and BootstrapRadioChoice so that the toggle behavior works.

martin-g commented 9 years ago

Thank you for the report! Could you please send a Pull Request? I won't be able to work on this in the next few weeks.