|
|
@ -50,9 +50,6 @@ class InputWidget extends Widget |
|
|
|
if ($this->hasModel() && !isset($this->options['id'])) { |
|
|
|
if ($this->hasModel() && !isset($this->options['id'])) { |
|
|
|
$this->options['id'] = Html::getInputId($this->model, $this->attribute); |
|
|
|
$this->options['id'] = Html::getInputId($this->model, $this->attribute); |
|
|
|
} |
|
|
|
} |
|
|
|
if($this->hasModel() && !array_key_exists('id', $this->options)) { |
|
|
|
|
|
|
|
$this->options['id'] = Html::getInputId($this->model, $this->attribute); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
parent::init(); |
|
|
|
parent::init(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|