2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-04 06:32:23 +03:00

add a slot to adjust no-options verbiage

This commit is contained in:
Jeff Sagal
2016-05-25 19:14:20 -07:00
parent 2b191eafb9
commit 603ff0ddfc
+3 -1
View File
@@ -159,7 +159,9 @@
</a>
</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>
</div>
</template>