2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-20 03:09:36 +03:00
Files
vue-select/docs/components/UnselectableExample.vue
T
2021-07-28 09:46:15 -07:00

17 lines
312 B
Vue

<template>
<v-select
placeholder="Choose a book to read"
label="title"
:options="books"
:selectable="option => ! option.author.lastName.includes('Woodhouse')"
/>
</template>
<script>
import books from '../data/books.js';
export default {
computed: {
books: () => books,
}
}
</script>