Commit 9f155de8 by Qiang Xue

removed the key from the array in the fix for #4371

parent 5fe6c55d
...@@ -195,7 +195,7 @@ class ActiveField extends Component ...@@ -195,7 +195,7 @@ class ActiveField extends Component
{ {
$clientOptions = $this->getClientOptions(); $clientOptions = $this->getClientOptions();
if (!empty($clientOptions)) { if (!empty($clientOptions)) {
$this->form->attributes[Html::getInputId($this->model, $this->attribute)] = $clientOptions; $this->form->attributes[] = $clientOptions;
} }
$inputID = Html::getInputId($this->model, $this->attribute); $inputID = Html::getInputId($this->model, $this->attribute);
......
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