Make autocomplete items buttons

This commit is contained in:
tusooa 2022-11-24 23:26:31 -05:00
parent 0d6435261e
commit 4db7f07421
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@
v-for="(suggestion, index) in suggestions" v-for="(suggestion, index) in suggestions"
:key="index" :key="index"
class="autocomplete-item" class="autocomplete-item"
role="button"
:class="{ highlighted: index === highlighted }" :class="{ highlighted: index === highlighted }"
@click.stop.prevent="onClick($event, suggestion)" @click.stop.prevent="onClick($event, suggestion)"
> >