【发布时间】:2013-09-10 12:35:29
【问题描述】:
请注意,这是针对 Twitter typeahead.js 的,它与 boostrap typeahead 不同(在 3.0 中已从 Bootstrap 中删除)
根据this issue on Github的说法,该功能已添加,但我看不到如何实现。
我试过了
autoselect: 'first'
和
autoselect: true
似乎都不起作用。
【问题讨论】:
-
你有想过这个吗?
-
该功能尚未合并到 github 上的 master 分支中,它计划在 v0.10.0 版本中并在此分支上可用:github.com/jharding/typeahead.js/tree/32-enter-autoselect
标签: javascript twitter-bootstrap typeahead.js