File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 312
312
<div :dir =" dir" class =" dropdown v-select" :class =" dropdownClasses" >
313
313
<div ref =" toggle" @mousedown.prevent =" toggleDropdown" :class =" ['dropdown-toggle', 'clearfix']" >
314
314
315
- <span class =" selected-tag" v-for =" option in valueAsArray" v-bind:key =" option.index" >
316
- <slot name =" selected-option" v-bind =" option" >
317
- {{ getOptionLabel(option) }}
318
- </slot >
319
- <button v-if =" multiple" :disabled =" disabled" @click =" deselect(option)" type =" button" class =" close" aria-label =" Remove option" >
320
- <span aria-hidden =" true" >× ; </span >
321
- </button >
322
- </span >
315
+ <slot v-for =" option in valueAsArray" name =" selected-option-container"
316
+ :option =" option" :deselect =" deselect" >
317
+ <span class =" selected-tag" v-bind:key =" option.index" >
318
+ <slot name =" selected-option" v-bind =" option" >
319
+ {{ getOptionLabel(option) }}
320
+ </slot >
321
+ <button v-if =" multiple" :disabled =" disabled" @click =" deselect(option)" type =" button" class =" close" aria-label =" Remove option" >
322
+ <span aria-hidden =" true" >× ; </span >
323
+ </button >
324
+ </span >
325
+ </slot >
323
326
324
327
<input
325
328
ref =" search"
You can’t perform that action at this time.
0 commit comments