Browse Source

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

tags/2.0.0-rc
Qiang Xue 10 years ago
parent
commit
9f155de82d
  1. 2
      framework/widgets/ActiveField.php

2
framework/widgets/ActiveField.php

@ -195,7 +195,7 @@ class ActiveField extends Component
{
$clientOptions = $this->getClientOptions();
if (!empty($clientOptions)) {
$this->form->attributes[Html::getInputId($this->model, $this->attribute)] = $clientOptions;
$this->form->attributes[] = $clientOptions;
}
$inputID = Html::getInputId($this->model, $this->attribute);

Loading…
Cancel
Save