Questions tagged [bootstrap-multiselect]

Bootstrap-Multiselect refers to David Stutz's jQuery-based plugin that provides an intuitive user interface for using select inputs with the multiple attribute present.

Bootstrap Multiselect is a jQuery based plugin to provide an intuitive user interface for using select inputs with the multiple attribute present. Instead of a select a bootstrap button will be shown as dropdown menu containing the single options as checkboxes.

This tag is for questions based off the library bootstrap-multiselect (GitHub).

There is a demo page: Bootstrap Multiselect

There is a sample skeleton in jsFiddle.

CDN location

Stack Snippet Starter Pack

$(function() {
    $('.multiselect').multiselect();
});
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.css" rel="stylesheet"/>
<link href="http://davidstutz.github.io/bootstrap-multiselect/dist/css/bootstrap-multiselect.css"/>

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.js"></script>
<script src="http://davidstutz.github.io/bootstrap-multiselect/dist/js/bootstrap-multiselect.js"></script>

<select class="multiselect" multiple="multiple">
    <option value="cheese">    Cheese     </option>
    <option value="tomatoes">  Tomatoes   </option>
    <option value="mozarella"> Mozzarella </option>
    <option value="mushrooms"> Mushrooms  </option>
    <option value="pepperoni"> Pepperoni  </option>
    <option value="onions">    Onions     </option>
</select>
395 questions
57
votes
17 answers

JQuery Bootstrap Multiselect plugin - Set a value as selected in the multiselect dropdown

I am having a multiselect dropdown using the Boostrap Multiselect plugin (http://davidstutz.de/bootstrap-multiselect/) as below
{% for type in buildings %}
Sachi Tekina
  • 1,800
  • 5
  • 28
  • 50
6
votes
8 answers

Bootstrap-Multiselect issue with form reset and checkboxes repopulating

I'm using bootstrap-multiselect for a dropdown in my application. Everything works fine except for my form reset, when I want it to revert back to the originally selected values. It's displaying the selected values as expected in the menu when it's…
jenni-mm2
  • 185
  • 1
  • 2
  • 11
5
votes
1 answer

Angular-6 based on the select multi-select dropdown show and hide not working properly

This question is maybe asked, but that is not solving my issue for multi-select. In my angular project the drop-down of key contains database, desktop and account. Based on the drop-down of key the value multi-select or drop-down and inputbox will…
Ramesh S
  • 585
  • 3
  • 10
  • 32
1
2 3
26 27