biggora / bootstrap-ajax-typeahead

Twitter Bootstrap Ajax Typeahead Plugin
http://plugins.upbootstrap.com/bootstrap-ajax-typeahead/
MIT License
172 stars 117 forks source link

AutoSelect option #44

Open vadimv82 opened 8 years ago

vadimv82 commented 8 years ago

Option that allows you to dictate whether or not the first suggestion is selected automatically. Turning autoselect off also means that the input won't clear if nothing is selected and enter or tab is hit.

Check here, there is such option. https://github.com/bassjobsen/Bootstrap-3-Typeahead

retan commented 8 years ago

I would also appreciate such an option. Without it the typeahead forces the user to use it's suggestion (when he uses Enter for submit). EDIT Now I noticed it's been implemented - but:

  1. there's no mention of it the documentation
  2. the version number is the same as before so updating via bower doesn't work EDIT 2 Even uninstalling, cleaning cache and installing via bower pulls the old version of the code (without autoSelect)
koseduhemak commented 7 years ago

works if you put the following into bower.json: "bs-typeahead": "biggora/bootstrap-ajax-typeahead#master",