Quick Start
Import or install package to your application
Install package using the command below
npm i vue3-search-select
In your script, import the package and it's CSS below
import { SearchSelect } from 'vue3-search-select'
import 'vue3-search-select/Vue-Search-Select.css'
In your template
<SearchSelect
:data='pseudoData'
placeholderName='Employee'
displayKey='firstName lastName'
v-model='value'
primaryKey='employeeId'
/>
- data is where you will pass data to.
- placeholderName is what will show as count of items picked i.e 3 Employees selected.
- displayKey are those keys you want to display from the data passed to the component.
- primaryKey is the key that will tracked and added to the v-model when items are picked.
This should get you started quickly to see how Search Select works....