2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00
Files
vue-select/docs/components/UnselectableExample.vue
T
Jeff Sagal ae2eb99f86 wip
2021-07-28 15:56:54 -07:00

17 lines
322 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 "../assets/data/books.js";
export default {
computed: {
books: () => books,
},
};
</script>