Skip to content

Commit

Permalink
Mention the autoselect option the documentation.
Browse files Browse the repository at this point in the history
As described in issue #32, there's been demand to mention this in the documentation.
  • Loading branch information
DanielApt committed Jan 20, 2015
1 parent 0fd2467 commit 744e6fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/jquery_typeahead.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ When initializing a typeahead, there are a number of options you can configure.
* `minLength` – The minimum character length needed before suggestions start
getting rendered. Defaults to `1`.

* `autoselect` – If `true`, the typeahead will autoselect the first suggestion when the Enter key has been pressed. Defaults to `false`.

### Datasets

A typeahead is composed of one or more datasets. When an end-user modifies the
Expand Down

1 comment on commit 744e6fe

@miaoyaoyao
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's nice , but autoselect does not trigger typeahead:select, Is that a Bug ??

Please sign in to comment.