mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
add a slot to adjust no-options verbiage
This commit is contained in:
@@ -159,7 +159,9 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li transition="fade" v-if="!filteredOptions.length" class="divider"></li>
|
<li transition="fade" v-if="!filteredOptions.length" class="divider"></li>
|
||||||
<li transition="fade" v-if="!filteredOptions.length" class="text-center">Sorry, no matching options.</li>
|
<li transition="fade" v-if="!filteredOptions.length" class="text-center">
|
||||||
|
<slot name="no-options">Sorry, no matching options.</slot>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user