1. Christoffer Niska
  2. yii-bootstrap
  3. Issues
Issue #115 resolved

BootTypeahead id gets overridden

Michael Nel
created an issue

When creating a typeahead and setting htmlOptions (id) the specified ID is not applied to the typeahead jquery selector.

Fix is easy and straight forward. In bootstrap.widgets.BootTypeahead -> method "run": Change "$id = $this->id;" to "$id = $this->htmlOptions['id'];"

Comments (1)

  1. Log in to comment