Consider alternative method of styling toggle buttons (don't use data-toggle="buttons" for styling)
Created by: pkozlowski-opensource
Ref: https://getbootstrap.com/docs/4.0/components/buttons/#checkbox-and-radio-buttons
As of today we need to add data-toggle="buttons"
to get proper styling on check / radio buttons done with inputs + labels. While I totally see how it works perfectly with provided jQuery plugins, it is not very intuitive for people not using jQuery but rather using a framework like Angular or React.
Would you consider another method of styling toggle buttons, for example using a dedicated CSS class (eg. .toggle-buttons
)?
I've opened similar issue in the past (#20359 (closed)) but then closed it as a duplicate of #18874 (closed). #18874 (closed) in turn got closed as a duplicate of number of other issues without addressing the problem. Hence I'm opening a new issue to start with a "clean slate".