An open API service indexing awesome lists of open source software.

https://github.com/ibnujakaria/multiple-select-js

A simple javascript library for multiple select component that supports Bootstrap 4 natively.
https://github.com/ibnujakaria/multiple-select-js

bootstrap4 dropdown javascript-library multiple-select multiselect-library multiselectdropdown

Last synced: 9 months ago
JSON representation

A simple javascript library for multiple select component that supports Bootstrap 4 natively.

Awesome Lists containing this project

README

          

[![](https://img.shields.io/npm/v/multiple-select-js)](https://www.npmjs.com/package/multiple-select-js)
[![](https://img.shields.io/npm/dt/multiple-select-js)](https://www.npmjs.com/package/multiple-select-js)
[![](https://img.shields.io/jsdelivr/npm/hm/multiple-select-js)](https://www.jsdelivr.com/package/npm/multiple-select-js)
[![](https://img.shields.io/github/size/ibnujakaria/multiple-select-js/dist/js/multiple-select.js)]()
[![](https://img.shields.io/github/release-date/ibnujakaria/multiple-select-js)](https://github.com/ibnujakaria/multiple-select-js/)
[![](https://img.shields.io/npm/l/multiple-select-js)](https://www.npmjs.com/package/multiple-select-js)

# Multiple Select

A simple javascript (non jQuery) library for multiple select component that supports Bootstrap 4 natively.

## Installation

You can install `multiple-select-js` in 3 options:

### Using NPM

```bash
npm i multiple-select-js
```

And then, simply import it using `es6` syntax.

```js
import MultipleSelect from 'multiple-select-js'
```

### Using CDN
```html

```

### Manually Download
```html

```

## Basic Usage

For single select.
```html


Single Select

PHP
Javascript
Python
Java


```

```js
new MultipleSelect('#select-language', {
placeholder: 'Select Language'
})
```

For Multiple select you can simply add `multiple` attribute to the `select` tag.

```html


Multiple Select

PHP
Javascript
Python
Java


```

```js
new MultipleSelect('#select-multiple-language', {
placeholder: 'Select Language'
})
```
## Documentation

Go to [this link](https://ibnujakaria.github.io/multiple-select-js) for the complete documentation.

## License

The Multiple Select Js library is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).