1.0.7 • Published 6 years ago
vue-dynamic-multiselect v1.0.7
vue-dynamic-multiselect
A VueJS plugin that provides a searchable and reactive multiselect list component with no dependencies.

Installation
npm install vue-dynamic-multiselect --saveImport
import DynamicMultiSelect from 'vue-dynamic-multiselect'
Vue.use(DynamicMultiSelect)Usage
// Static options source (array)
<dynamic-multi-select
:options="objectArray"
option-value="id"
option-text="name"
placeholder="type to search"
v-model="selectedObjects" />
// Dynamic options source (ajax, etc)
<dynamic-multi-select
:options="objectArray"
@search="onSearchEventHandler"
option-value="id"
option-text="name"
placeholder="type to search"
v-model="selectedObjects" />NOTE: For more detailed usage see the examples folder.
Properties
Events
| Name | Description |
|---|---|
| search | Triggered whenever search text changes. Value is the current search string. |
| input | Triggered whenever the selected options change. |