2017 © Pedro PelĂĄez
 

library bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

image

bootstrap-select/bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

  • Wednesday, May 23, 2018
  • by leejinlin
  • Repository
  • 352 Watchers
  • 7386 Stars
  • 126,117 Installations
  • JavaScript
  • 11 Dependents
  • 0 Suggesters
  • 2222 Forks
  • 442 Open issues
  • 40 Versions
  • 9 % Grown

The README.md

bootstrap-select

The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more. Now with Bootstrap 5 support. , (*1)

Latest release npm NuGet CDNJS jsDelivr
License , (*2)

bootstrap-select demo , (*3)

Demo

You can view a live demo and some examples of how to use the various options here., (*4)

Quick start

Bootstrap-select requires jQuery v1.9.1+, Bootstrap’s dropdown.js component, and Bootstrap's CSS. If you're not already using Bootstrap in your project, a precompiled version of the Bootstrap v3.4.1 minimum requirements can be downloaded here. If using bootstrap-select with Bootstrap v4+, you'll also need Popper.js. For all of Bootstrap v4's requirements, see Getting started. A precompiled version of the requirements will be made available in an upcoming release of bootstrap-select., (*5)

Several quick start options are available:, (*6)

  • Download the latest release.
  • Clone the repo: git clone https://github.com/snapappointments/bootstrap-select.git
  • Install with npm: npm install bootstrap-select
  • Install with yarn: yarn add bootstrap-select
  • Install with Composer: composer require snapappointments/bootstrap-select
  • Install with NuGet: Install-Package bootstrap-select
  • Install with Bower: bower install bootstrap-select
  • Install via CDN (cdnjs, jsDelivr or PageCDN):

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.14.0-beta3/dist/css/bootstrap-select.min.css">






The CDN is updated after the release is made public, which means that there is a delay between the publishing of a release and its availability on the CDN., (*7)

Usage

Bootstrap 4 only works with bootstrap-select v1.13.0+. By default, bootstrap-select automatically detects the version of Bootstrap being used. However, there are some instances where the version detection won't work. See the documentation for more information., (*8)

Via selectpicker class

Add the selectpicker class to your select elements to auto-initialize bootstrap-select., (*9)

<select class="selectpicker">
  <option>Mustard</option>
  <option>Ketchup</option>
  <option>Barbecue</option>
</select>

Via JavaScript

// To style only selects with the my-select class
$('.my-select').selectpicker();

or, (*10)

// To style all selects
$('select').selectpicker();

If calling bootstrap-select via JavaScript, you will need to wrap your code in a .ready() block or place it at the bottom of the page (after the last instance of bootstrap-select)., (*11)

$(function () {
    $('select').selectpicker();
});

Check out the documentation for further information., (*12)

Bugs and feature requests

Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing. Make sure you're using the latest version of bootstrap-select before submitting an issue., (*13)

Documentation

Bootstrap-select's documentation, included in this repo in the root directory, is built with MkDocs and hosted at https://developer.snapappointments.com/bootstrap-select. The documentation may also be run locally., (*14)

Copyright (C) 2012-2018 SnapAppointments, LLC, (*15)

Licensed under the MIT license., (*16)

The Versions

23/05 2018

dev-master

9999999-dev https://silviomoreto.github.io/bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

  Sources   Download

MIT

form bootstrap select replacement

29/07 2017

dev-virtual-scrolling

dev-virtual-scrolling http://silviomoreto.github.io/bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

  Sources   Download

MIT

form bootstrap select replacement

29/07 2017

dev-v1.13.0-dev

dev-v1.13.0-dev http://silviomoreto.github.io/bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

  Sources   Download

MIT

form bootstrap select replacement

29/07 2017

1.13.0-alpha

1.13.0.0-alpha http://silviomoreto.github.io/bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

  Sources   Download

MIT

form bootstrap select replacement

19/07 2017

1.12.4

1.12.4.0 http://silviomoreto.github.io/bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

  Sources   Download

MIT

form bootstrap select replacement

06/07 2017

1.12.3

1.12.3.0 http://silviomoreto.github.io/bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

  Sources   Download

MIT

form bootstrap select replacement

30/01 2017

1.12.2

1.12.2.0 http://silviomoreto.github.io/bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

  Sources   Download

MIT

form bootstrap select replacement

22/11 2016

1.12.1

1.12.1.0 http://silviomoreto.github.io/bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

  Sources   Download

MIT

form bootstrap select replacement

19/11 2016

1.12.0

1.12.0.0 http://silviomoreto.github.io/bootstrap-select

Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

  Sources   Download

MIT

form bootstrap select replacement

10/09 2016

1.11.2

1.11.2.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

10/09 2016

1.11.1

1.11.1.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

16/08 2016

1.11.0

1.11.0.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

17/02 2016

1.10.0

1.10.0.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

18/01 2016

1.9.4

1.9.4.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

16/12 2015

1.9.3

1.9.3.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

16/12 2015

1.9.2

1.9.2.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

08/12 2015

1.8.1

1.8.1.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

07/12 2015

1.8.0

1.8.0.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

19/11 2015

1.7.7

1.7.7.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

23/10 2015

1.7.5

1.7.5.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

30/09 2015

1.7.4

1.7.4.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

27/05 2015

1.7.2

1.7.2.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

22/05 2015

1.7.1

1.7.1.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

21/05 2015

1.7.0

1.7.0.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

20/04 2015

1.6.5

1.6.5.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

19/02 2015

1.6.4

1.6.4.0 http://silviomoreto.github.io/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

03/10 2014

1.6.3

1.6.3.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

19/08 2014

1.6.2

1.6.2.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

12/08 2014

1.6.1

1.6.1.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

08/08 2014

1.6.0

1.6.0.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

25/06 2014

1.5.4

1.5.4.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

08/03 2014

1.5.2

1.5.2.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for Bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

04/03 2014

1.5.1

1.5.1.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for @twitter bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

04/03 2014

1.5.0

1.5.0.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for @twitter bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

16/01 2014

1.4.3

1.4.3.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for @twitter bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

18/12 2013

1.4.2

1.4.2.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for @twitter bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

12/12 2013

1.4.1

1.4.1.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for @twitter bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

12/12 2013

1.4.0

1.4.0.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for @twitter bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

11/12 2013

1.3.7

1.3.7.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for @twitter bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement

10/12 2013

1.3.6

1.3.6.0 https://github.com/silviomoreto/bootstrap-select

A custom <select> for @twitter bootstrap using button dropdown as replacement

  Sources   Download

MIT

form bootstrap select replacement