Skip to content

Selects

Vlad Shusterman edited this page Jul 11, 2018 · 15 revisions

Simple select

<vuestic-simple-select
     label="Simple select"
     v-model="simpleSelectModel"
     option-key="description"
     v-bind:options="simpleOptions">
</vuestic-simple-select>

Mutliselect

<vuestic-multi-select
     label="Mutliselect"
     v-model="multiSelectModel"
     option-key="description"
     v-bind:options="simpleOptions"
     clearable="false">
</vuestic-multi-select>

label: String -- Label of your Select
v-model: String[] / Object[] -- Model of your select
option-key: String -- If model is an array of objects, use option-key to specify Object field to be used as an option
options: String[] -- Array of options which shown in a dropdown
clearable:Boolean -- default - true. Provides cross to unselect value. Find DEMOs here!

Clone this wiki locally