mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-24 18:51:27 +08:00
Fixes #5110.
This commit is contained in:
@@ -486,7 +486,8 @@ class ActiveField extends Component
|
|||||||
$this->labelOptions = $options['labelOptions'];
|
$this->labelOptions = $options['labelOptions'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset($options['label'], $options['labelOptions']);
|
unset($options['labelOptions']);
|
||||||
|
$options['label'] = null;
|
||||||
$this->parts['{input}'] = Html::activeCheckbox($this->model, $this->attribute, $options);
|
$this->parts['{input}'] = Html::activeCheckbox($this->model, $this->attribute, $options);
|
||||||
}
|
}
|
||||||
$this->adjustLabelFor($options);
|
$this->adjustLabelFor($options);
|
||||||
|
|||||||
Reference in New Issue
Block a user