mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-07 07:12:23 +03:00
WIP
- pull toggleTargets out of `toggleDropdown(e)` and into it's own computed property - add focus, blur to options slots
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<v-select :options="books" label="title">
|
||||
<template #selected-option="{author, title}">
|
||||
<component :is="option" v-bind="{author, title}"/>
|
||||
<v-select :options="books" label="title" multiple>
|
||||
<template #selected-option="{author, title, focus}">
|
||||
<component :is="option" v-bind="{author, title}" @click="focus"/>
|
||||
</template>
|
||||
<template #option="{author, title}">
|
||||
<component :is="option" v-bind="{author, title}"/>
|
||||
|
||||
Reference in New Issue
Block a user