Commit 169a2a39 by Qiang Xue

Fixes #5110.

parent ff17d960
......@@ -486,7 +486,8 @@ class ActiveField extends Component
$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->adjustLabelFor($options);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment