Inline forms by default hide all labels with the sr-only class. This should not happen for checkbox elements, which need their label to function. Without a visible label, the checkbox will not function in bootstrap. And even if it did, a checkbox without a label is not really usable.
The method for class removal is based on similar exceptions made in the listBox() and dropDownList() methods in the same class.
Inline forms by default hide all labels with the sr-only class. This should not happen for checkbox elements, which need their label to function. Without a visible label, the checkbox will not function in bootstrap. And even if it did, a checkbox without a label is not really usable.
The method for class removal is based on similar exceptions made in the listBox() and dropDownList() methods in the same class.