This commit is contained in:
taehoon 2019-04-02 16:46:40 -04:00
parent d874ca905c
commit 329dc833b3
1 changed files with 1 additions and 2 deletions

View File

@ -2,8 +2,7 @@
<div class="autosuggest" v-click-outside="onClickOutside">
<input v-model="term" :placeholder="placeholder" @click="onInputClick" class="autosuggest-input" />
<div class="autosuggest-results" v-if="resultsVisible && filtered.length > 0">
<slot v-for="item in filtered" :item="item">
</slot>
<slot v-for="item in filtered" :item="item" />
</div>
</div>
</template>