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
3
votes
3 answers

onChange event not triggered when while clicking on SelectAllOption multiselect

I've using bootstrap multiselect , getting data based on selected option. This filter data will works when onChange triggered but when trying to select all onChange not working: function getOptions(node, isFilter) { var isChanged = false; …
Govind Samrow
  • 9,981
  • 13
  • 53
  • 90
3
votes
1 answer

bootstrap multiselect dropdown disable Filtering not working

There is multiple multiselect dropdowns on a page so we using common option for all but want to select Filteringoption for specific dropdowns . Options: function getOptions(isFilter) { return { enableFiltering: isFilter, …
Govind Samrow
  • 9,981
  • 13
  • 53
  • 90
3
votes
1 answer

Use reactive form with angular 2 dropdown multiselect

I'm trying to use the angular 2 dropdown multiselect library with reactive forms. I have followed the tutorial for reactive model and have this: this.myOptions = [ { id: 1, name: 'English' }, { id: 2, name: 'French' }, ]; this.form =…
Nate
  • 7,606
  • 23
  • 72
  • 124
3
votes
2 answers

Showing select all checkbox in bootstrap-multiselect and customize the "None Selected" Text

I am looking for a solution for changing the None selected label into own text. I have this code, html:
mehmet
  • 7,720
  • 5
  • 42
  • 48
3
votes
3 answers

How to get opt group values in bootstrap-multiselect

var data = [ { "label": "WKS-FINGER1", "children": [ { "label": "WKS1", "value": "WKS1" }, { "label": "WKS2", "value": "WKS2" }, { "label": "WKS2", "value": "WKS2" } ] }, { "label": "WKS-FINGER", …
3
votes
2 answers

Angular bootstrap multi-selectpicker component not shows tick marks on options after model change

I am using Angular Bootstrap Selectpicker. I am using angular version 1.4.7. For select picker they provide directive, angular.module('angular-bootstrap-select', []) .directive('selectpicker', ['$parse', function ($parse) { return { restrict:…
Prashant Shilimkar
  • 8,402
  • 13
  • 54
  • 89
3
votes
2 answers

Multiselect options getting hidden behind the div below it

I am using multiselect drop down list inside a table cell. But when I click it the options are hidden behind the contents of the cell below it. What am I doing wrong? $('#example-getting-started').multiselect({ buttonWidth: '700px', maxHeight:…
Pranav Raj
  • 781
  • 1
  • 8
  • 19
3
votes
2 answers

onselect remove element from Bootstrap Multiselect dropdown

I have two bootstrap mutiselect dropdown. And my requirement is, If I select any one option from first dropdown then selected option should be removed from second dropdown. Also if I deselect it then it should be add to second dropdown. Here is…
Sunil Prajapati
  • 168
  • 2
  • 9
3
votes
2 answers

How to change the Bootstrap multiselect dropdown position on top?

I have tried to change the Position of bootstrap multiselect dropdown menu on top but no luck. Below instead of using right how to show top of control.