diff --git a/yii/bootstrap/TypeAhead.php b/yii/bootstrap/TypeAhead.php index a2dce0e..fd1d90c 100644 --- a/yii/bootstrap/TypeAhead.php +++ b/yii/bootstrap/TypeAhead.php @@ -95,6 +95,6 @@ class TypeAhead extends Widget ); } - return Html::textInput($this->name, '', $this->options); + return Html::textInput($this->name, $this->value, $this->options); } }