Multiple selection in Bootstrap typeahead

Mujahid picture Mujahid · Jun 19, 2013 · Viewed 26.5k times · Source

I'm looking for a proper way to implement the jquery mobile filter list in bootstrap typeahead component.

The functionality that I needed is here in the following link. Please scroll down to the bottom. http://jquerymobile.com/demos/1.2.1/docs/lists/lists-inset.html

In the filtering list, I want to add checkboxes for each list items and the user should be able to check multiple value. They don't have to be added to the textfield. As that's the only function I need, its no use of adding the whole jquery mobile library to the project.

I found couple of options in the following link which goes near my requirement.

http://fusiongrokker.com/post/heavily-customizing-a-bootstrap-typeahead

But, the multiple selection by clicking checkboxes didn't work with bootstrap typeahead.

Can anyone give me a good solution for this.

Thanks

Answer

Aditya Kresna Permana picture Aditya Kresna Permana · May 22, 2014

If you looking for bootstrap, this plugin can be used in your project

http://sliptree.github.io/bootstrap-tokenfield/