A multiselect component for react (with bootstrap). This is a react port of:
-
Install the module with:
npm install --save react-bootstrap-multiselect
-
Create your module (you need to use something like browserify to build)
var React = require('react');
var Multiselect = require('react-bootstrap-multiselect');
var someReactComponent = React.createClass({
render: function () {
return (
<Multiselect />
);
}
});
- Include the multi-select CSS in your project somewhere. The CSS file is here: bootstrap-multiselect.min.css (don't hotlink- download and host your own copy)
<link rel="stylesheet" href="bootstrap-multiselect.min.css" type="text/css" />
For in depth documentation, see the original bootstrap-multiselect project page.
Copyright (c) 2014 skratchdot
Uses the original bootstrap-multiselect license.