Docs are contradictory for radio/checkbox classes
Created by: TheSharpieOne
Slightly different from #20578 (closed) which is specific to inline and stacking, this ticket hopes to address the .form-check
vs .radio
and .checkbox
classes.
The checkboxes and radios example uses the .form-check
class exclusively while the validation example uses .radio
and .checkbox
exclusively.
It is also worth noting that the validation styles for the label depend on the use of .radio
and .checkbox
EDIT: Also affects disabled styles. The docs show both ways. Using .radio
, as shown in the form controls example, does not make the label gray when disabled. Using .form-check
does make the label gray when it is disabled` as seen in the using the grid example
.radio.disabled label
.form-check.disabled .form-check-label