I’m creating a list of form fields, using bootstrap ActiveForm and ActiveField, with a horizontal layout. Normally this displays the field label to the left in bold, with the control to the right. Except in the case of checkboxes, where the checkbox is displayed to the left of the label, which is non-bolded, and both of them are in the right column where other controls are displayed.
I want checkboxes to display just like the other field types, with a bolded label in the left column, and a checkbox in the right column. It looks like you should be able to use the yii\bootstrap\ActiveField $horizontalCheckboxTemplate property do this, but all my attempts to do so have come to naught. Any suggestions?