2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-07 07:12:23 +03:00

- add dev example

- expand slot props to include `multiple`, `disabled`
This commit is contained in:
Jeff
2018-01-13 00:39:40 -08:00
parent 4095643047
commit 9a0d2d2e71
2 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -313,7 +313,7 @@
<div ref="toggle" @mousedown.prevent="toggleDropdown" :class="['dropdown-toggle', 'clearfix']">
<slot v-for="option in valueAsArray" name="selected-option-container"
:option="option" :deselect="deselect">
:option="option" :deselect="deselect" :multiple="multiple" :disabled="disabled">
<span class="selected-tag" v-bind:key="option.index">
<slot name="selected-option" v-bind="option">
{{ getOptionLabel(option) }}