If an error occurs on an empty checboxList/radioList field, no error message is displayed, since the current implementation of error output in yii2-bootstrap4 is bound to the last displayed item. This fix disables the logic of replacing a field template if the list is empty.
If an error occurs on an empty checboxList/radioList field, no error message is displayed, since the current implementation of error output in yii2-bootstrap4 is bound to the last displayed item. This fix disables the logic of replacing a field template if the list is empty.