Skip to content

Commit

Permalink
removed the key from the array in the fix for yiisoft#4371
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangxue committed Aug 12, 2014
1 parent 5fe6c55 commit 9f155de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/widgets/ActiveField.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function begin()
{
$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);
Expand Down

0 comments on commit 9f155de

Please sign in to comment.