mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-04 06:32:23 +03:00
21 lines
277 B
Vue
21 lines
277 B
Vue
<template>
|
|
<v-select
|
|
v-model="selected"
|
|
:reduce="(option) => option.id"
|
|
:options="[
|
|
{ label: 'One', id: 1 },
|
|
{ label: 'Two', id: 2 },
|
|
]"
|
|
/>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
selected: 3,
|
|
}
|
|
},
|
|
}
|
|
</script>
|