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
5
votes
2 answers

How can I hide/show options on the fly with bootstrap-multiselect?

I am using bootstrap-multiselect to give the user great controller over two key menus. My first menu is called groups and other called queues. Each option in the queues has an HTML5 data attribute (i.e. data-group="X", where X is a group-value) When…
Junior
  • 11,602
  • 27
  • 106
  • 212
5
votes
1 answer

boostrap-multiselect plugin in Aurelia

I am trying to get bootstrap-multiselect to work with Aurelia. have got it working more or less but not sure it is the best solution or if I might run into trouble. Bootstrap-multiselect is a jquery plugin that turns a normal select (multi) into a…
Magnus
  • 63
  • 6
5
votes
4 answers

Bootstrap multiselect dropdown is not visible

Despite the fact that I can make this bootstrap-multiselect work in independent file, I'm not able to see the dropdown list once I click on caret, even if I included it in portal files. I have already used bootstrap-datepicker, datetimepicker,…
Neha
  • 85
  • 1
  • 1
  • 6
5
votes
4 answers

Bootstrap Multiselect Button Width Issue

I have used Multiselect of Bootstrap. My issue is when I select item from options. If name is too long then button width is also increased. How do I handle Button width after selecting options.
4
votes
1 answer

How to fix bootstrap multiselect search data using ajax

I am Using bootstrap multi select. I have two drop downs and both have datas with search feature. what i am doing .. on change function on first drop down i want to change second drop down value using ajax.I have used rebuild too. But search…
Fighter
  • 69
  • 3
4
votes
1 answer

Bootstrap multiselect dropdown .val() not updating

I have 3 drop downs which are cascading. Zone -- > Region --> Territory I am using Bootstrap multiselect drop downs. When i select the Zone drop down the respective regions are to be bound and simultaneously the newly bound regions' territories are…
4
votes
5 answers

How to hide the bootstrap multiselect hover tooltip?

I am using the bootstrap multiselect plugin provided by http://davidstutz.github.io/bootstrap-multiselect/. I am facing problem with the hover over tooltip with all selected values. It displays unexpected results like in given image.tootip…
Arshad
  • 135
  • 2
  • 13
4
votes
3 answers

Bootstrap Multiselect - Using the plugin for single select, first item is always selected

I am using Bootstrap Multiselect plugin to select values from multi-select dropdown and single select dropdown I noticed couple of issues and tried several options but none of them worked. If anyone already resolved them, need advice. When using…
jagamot
  • 5,348
  • 18
  • 59
  • 96
4
votes
1 answer

hide/show table row via multiselect

Currently I'm working on filtering table using bootstrap-multiselect plugin. I'm having hard time to make it work properly. I want to show/hide table row depending on selected values in multiselect. E.g. If row has a value of Activated, then only…
4
votes
2 answers

Javascript: Understanding function syntax and parameters

I am trying to make sense of the onchange event of bootstrap-multiselect. In particular, I am trying to understand the function syntax and parameters. $('#example-onChange').multiselect({ onChange: function(option, checked, select) { …
The Wanderer
  • 3,051
  • 6
  • 29
  • 53
4
votes
3 answers

How to fire an event when a drop down menu is closed using jQuery?

I want to reload the page when a user closes a dropdown menu that is controlled by "bootstrap-multiselect" UI. Here is what I have tried so far $('#ts_client_id').multiselect({ enableFiltering: true, …
Jaylen
  • 39,043
  • 40
  • 128
  • 221
4
votes
2 answers

Disable a specific option boostrap-multiselect

Question I want to disable a single option with JS. I tried using the following code: var input = $('input[value="' + selectedPriLang + "Sec" + '"]'); input.prop('disabled', false); input.parent('li').addClass('disabled'); It kind…
user3455727
3
votes
1 answer

how to change design of bootstrap-multiselect

I have used this multiselect dropdown in my application and here is its lib link I can get all function if I use this multiselect dropdown but I am facing design issue. I would like to design checkbox as below image :