Skip to content

Commit 0874091

Browse files
imacrayonshentao
authored andcommitted
Fix placeholder markup (shentao#700)
1 parent b833c68 commit 0874091

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Multiselect.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,12 @@
6363
<template>{{ currentOptionLabel }}</template>
6464
</slot>
6565
</span>
66-
<span v-if="isPlaceholderVisible" @mousedown.prevent="toggle">
66+
<span
67+
v-if="isPlaceholderVisible"
68+
class="multiselect__placeholder"
69+
@mousedown.prevent="toggle">
6770
<slot name="placeholder">
68-
<span class="multiselect__single">
6971
{{ placeholder }}
70-
</span>
7172
</slot>
7273
</span>
7374
</div>

0 commit comments

Comments
 (0)