vue-advanced-search
Single & Multiple Select Autocomplete search with vue.
Features:
- Autocomplete search
- Single select
- Multiple select
Install & basic usage
Example 1: Autocomplete search
Example 2: Multiple select with search
Props
prop | type | default | description |
---|---|---|---|
value | String/Integer/Array/Object | '' | The selected value(s) |
options | Array | [] | Array of available options: If array of objects, label will be option.label |
placeholder | String | 'Search' | The placeholder attribute |
selectMode | Boolean | false | Enables input select |
multiple | Boolean | false | Enable multiple select |
Events
event | attributes | description |
---|---|---|
input | (value) | triggers for any change to 'this.value' |
select | (value) | triggers after selecting an option |
Slots
slot | description |
---|---|
input | Slot for the input |
label | Slot for the label displayed |
option | Slot for custom option |