mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
fixed navigate on enter in search
This commit is contained in:
parent
561f586dd1
commit
f471e38d88
1 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
<div>
|
||||
<v-autocomplete
|
||||
:items="autoResults"
|
||||
v-model="searchSlug"
|
||||
item-value="item.slug"
|
||||
item-text="item.name"
|
||||
dense
|
||||
|
@ -52,7 +53,8 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
search: "",
|
||||
searchSlug: "",
|
||||
search: " ",
|
||||
result: [],
|
||||
autoResults: [],
|
||||
isDark: false,
|
||||
|
@ -88,6 +90,9 @@ export default {
|
|||
this.autoResults = this.result;
|
||||
}
|
||||
},
|
||||
searchSlug() {
|
||||
this.selected(this.searchSlug);
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
getImage(image) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue