Skip to content

Commit d1cf95f

Browse files
committed
docs(slots): Update docs with correct v-slot syntax
1 parent 81654f3 commit d1cf95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/src/components/example-code/OptionGroups.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div><label class="typo__label">Groups</label>
33
<multiselect v-model="value" :options="options" :multiple="true" group-values="libs" group-label="language"
4-
:group-select="true" placeholder="Type to search" track-by="name" label="name"><span slot="noResult">Oops! No elements found. Consider changing the search query.</span>
4+
:group-select="true" placeholder="Type to search" track-by="name" label="name"><template v-slot:noResult>Oops! No elements found. Consider changing the search query.</template>
55
</multiselect>
66
<pre class="language-json"><code>{{ value }}</code></pre>
77
</div>

0 commit comments

Comments
 (0)