File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 115
115
float : left ;
116
116
line-height : 24px ;
117
117
}
118
+ .v-select .selected-tag.single {
119
+ background-color : transparent ;
120
+ border-color : transparent ;
121
+ }
122
+ .v-select.open .selected-tag.single {
123
+ position : absolute ;
124
+ opacity : 0.5 ;
125
+ }
118
126
.v-select .selected-tag .close {
119
127
float : none ;
120
128
margin-right : 0 ;
254
262
<div class =" dropdown v-select" :class =" dropdownClasses" >
255
263
<div ref =" toggle" @mousedown.prevent =" toggleDropdown" class =" dropdown-toggle" >
256
264
257
- <span class =" selected-tag" v-for =" option in valueAsArray" v-bind:key =" option.index" >
265
+ <span class =" selected-tag" :class = " selectedTagClasses " v-for =" option in valueAsArray" v-bind:key =" option.index" >
258
266
{{ getOptionLabel(option) }}
259
267
<button v-if =" multiple" @click =" deselect(option)" type =" button" class =" close" >
260
268
<span aria-hidden =" true" >× ; </span >
769
777
}
770
778
},
771
779
780
+ /**
781
+ * Classes to be output on .selected-tag
782
+ * @return {Object}
783
+ */
784
+ selectedTagClasses () {
785
+ return {
786
+ single: ! this .multiple
787
+ }
788
+ },
789
+
772
790
/**
773
791
* Return the current state of the
774
792
* dropdown menu.
You can’t perform that action at this time.
0 commit comments