Open GunnarLieb opened 4 years ago
Thank you so so so much! spend 4+ hrs trying to figure out what was wrong with my code but found out it was their bug. thank you so much...
Saving some time for people: https://github.com/corejavascript/typeahead.js
About once every two years I try to implement a typeahead widget and I run into this insanely confusing tangle of forks and version numbers. Something that should take 20 minutes turns into hours. Every time.
@jdesbonnet I'm with you and in exactly the same boat again, using Bootstrap 5.0 and just want something that works more or less out of the box with an API Fetch for the modern era.
Looking for something that has no jQuery dependencies...
Recommended new solutions (without jQuery dependencies):
Tarek Raafat's "autoComplete.js" (can be used in existing forms): https://github.com/TarekRaafat/autoComplete.js
"Algolia autocomplete" (but creates a form element, so not usable within existing forms, only as a standalone element): https://github.com/algolia/autocomplete
If you are looking for something which works out of the box and don't mind jQuery, have a look at https://github.com/xcash/bootstrap-autocomplete
Looks like the fork mentioned above is maintained