Select2 v4 theme for Bootstrap4
Switch branches/tags
Nothing to show
Clone or download
Latest commit b989c61 Dec 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist feat: fix max-height of dropdown Dec 5, 2018
src feat: fix max-height of dropdown Dec 5, 2018
.gitignore first version Feb 13, 2018
LICENSE Initial commit Feb 13, 2018
README.md docs: update readme Feb 14, 2018
package.json bump to 1.0.5 Dec 5, 2018
webpack.config.js chore: minimzie option of css-loader is no longer available so use cs… Dec 5, 2018

README.md

select2-bootstrap4-theme

npm version npm downloads

Select2 v4 theme for Bootstrap4 (Compatible to boostrap 4.0.0+)

Live demo

👉 https://embed.plnkr.co/YFhC0HYNJPKjXl2wIDGZ/

Installation

$ npm install @ttskch/select2-bootstrap4-theme

Usage

<link rel="stylesheet" href="/path/to/select2.css">
<link rel="stylesheet" href="/path/to/select2-bootstrap4.css">
$('select').select2({
    theme: 'bootstrap4',
});

Getting involved

  1. Fix src/layout.scss, src/_single.scss or src/_multiple.scss
  2. Do npm run build:both
  3. Send me a Pull Requeest