make UserAutoSuggest component more generic
This commit is contained in:
parent
5c2c222252
commit
8410add394
4 changed files with 34 additions and 19 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="user-autosuggest" v-click-outside="onClickOutside">
|
||||
<input v-model="query" placeholder="Search whom you want to block" @click="onInputClick" class="user-autosuggest-input" />
|
||||
<input v-model="term" placeholder="Search whom you want to block" @click="onInputClick" class="user-autosuggest-input" />
|
||||
<div class="user-autosuggest-results" v-if="resultsVisible && filtered.length > 0">
|
||||
<BlockCard v-for="userId in filtered" :key="userId" :userId="userId"/>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue