We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc026b commit 31c9ccaCopy full SHA for 31c9cca
src/fields/input/FieldSelect.vue
@@ -2,8 +2,10 @@
2
<div class="vfg-select">
3
<span v-on-click-outside="() => isOpened = false" class="vfg-select-label" :class="{'text-muted': !selectedNames.length}" @click.prevent="onClickInput">
4
<template v-if="selectedNames.length">
5
- <span v-for="(selectedName, index) in selectedNames" :key="selectedName">
6
- <template v-if="index !== 0">, </template>{{ selectedName }}
+ <span>
+ <template v-for="(selectedName, index) in selectedNames" :key="selectedName">
7
+ <template v-if="index !== 0">, </template>{{ selectedName }}
8
+ </template>
9
</span>
10
</template>
11
<template v-else>{{ field.placeholder || 'Select an option' }}</template>
0 commit comments