|
|
@@ -32,12 +32,18 @@ |
|
|
|
@input="setValue"> |
|
|
|
<template slot="singleLabel" slot-scope="props"> |
|
|
|
<span v-if="props.option.icon" class="option__icon" :class="props.option.icon" /> |
|
|
|
<img v-else class="option__icon-img" :src="props.option.iconUrl" alt=""> |
|
|
|
<img v-else |
|
|
|
class="option__icon-img" |
|
|
|
:src="props.option.iconUrl" |
|
|
|
alt=""> |
|
|
|
<span class="option__title option__title_single">{{ props.option.label }}</span> |
|
|
|
</template> |
|
|
|
<template slot="option" slot-scope="props"> |
|
|
|
<span v-if="props.option.icon" class="option__icon" :class="props.option.icon" /> |
|
|
|
<img v-else class="option__icon-img" :src="props.option.iconUrl" alt=""> |
|
|
|
<img v-else |
|
|
|
class="option__icon-img" |
|
|
|
:src="props.option.iconUrl" |
|
|
|
alt=""> |
|
|
|
<span class="option__title">{{ props.option.label }}</span> |
|
|
|
</template> |
|
|
|
</Multiselect> |