Multiple selection in Bootstrap typeahead

27,833

Solution 1

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

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

Solution 2

I saw following has been suggested in many places:

http://ivaynberg.github.io/select2/

(If you use the multi-value version.)

Share:
27,833
Mujahid
Author by

Mujahid

Passionate, responsible and committed IT professional offering vast experience leveraging software engineering and DevOps methodologies to deliver highly effective and creative solutions to business and technology challenges. An excellent problem-solver, able to quickly grasp complex systems and identify opportunities for improvements and resolutions of critical issues. With more than seven years of experience in software engineering I am adept in; Working closely with system analysts, engineers, programmers and business stakeholders to design solutions and to obtain information on project limitation and capabilities, performance requirements and interfaces. Programming in multiple languages, including JavaScript (AngularJS/Knockout JS/KendoUI/BackboneJS etc…), HTML5, CSS3, Ruby on Rails, PHP and Java Experience on Single Page Application Development with REST API Performance optimization, software design and implementation coordination Overseeing debugging, patches, product releases and implementation of new features Maintaining Linux Hosting environments Specialties: Web and Fontend and Backend development, Hybrid Mobile development, User Experience and Interactions and Designing, Agile/Scrum/Kanban/Lean, Ionic, PhoneGap, Angular / Angular 2, Ruby on Rails, Java, PHP (Laravel/CakePHP), HTML5, CSS3/SASS/LESS, Git, Gulp, Grunt

Updated on July 09, 2022

Comments

  • Mujahid
    Mujahid almost 2 years

    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

  • Mujahid
    Mujahid over 10 years
    I don't wanna mix up the jquery UI and bootstrap CSS as my application should work properly in the mobile as well. Thanks a for your solution, but I wrote a custom filtering function. Thanks again