Open holmesadrianh opened 3 years ago
Yes that would be very helpful
@holmesadrianh btw did you find any way to do it?
Old thread, but for anyone in the future looking for a way, you can do it by specifying a named slot #no-result
.
<Mentionable
:keys="['@', '#']"
:items="items"
offset="6"
insert-space
@open="onOpen"
@apply="onApply"
>
<textarea
v-model="text"
/>
<template #no-result>
<div style="display: none;" />
</template>
</Mentionable>
There is not need to show "No results" to the user. If there are no results the popup does not need to display. Is there a way to close the menu when there are no results?