Update ActiveField.php
This commit is contained in:
parent
2d87e3a45c
commit
e198618f82
@ -290,7 +290,7 @@ class ActiveField extends \yii\widgets\ActiveField
|
||||
Html::addCssClass($this->wrapperOptions, $this->horizontalCssClasses['offset']);
|
||||
}
|
||||
Html::removeCssClass($this->labelOptions, 'form-label');
|
||||
unset($options['template']);
|
||||
unset($options['template'], $options['switch']);
|
||||
|
||||
if ($enclosedByLabel) {
|
||||
if (isset($options['label'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user