mirror of
https://github.com/gotson/komga.git
synced 2026-05-09 05:10:19 +02:00
fix(webui): clear searchbox results on blur
This commit is contained in:
parent
3db3181313
commit
e1a2cecce4
1 changed files with 1 additions and 1 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
:search-input.sync="search"
|
:search-input.sync="search"
|
||||||
:menu-props="{maxHeight: $vuetify.breakpoint.height * .9, minWidth: $vuetify.breakpoint.mdAndUp ? $vuetify.breakpoint.width * .4 : $vuetify.breakpoint.width * .8}"
|
:menu-props="{maxHeight: $vuetify.breakpoint.height * .9, minWidth: $vuetify.breakpoint.mdAndUp ? $vuetify.breakpoint.width * .4 : $vuetify.breakpoint.width * .8}"
|
||||||
@keydown.esc="clear"
|
@keydown.esc="clear"
|
||||||
|
@blur="clear"
|
||||||
ref="searchbox"
|
ref="searchbox"
|
||||||
>
|
>
|
||||||
<template v-slot:selection>
|
<template v-slot:selection>
|
||||||
|
|
@ -191,7 +192,6 @@ export default Vue.extend({
|
||||||
}, 500),
|
}, 500),
|
||||||
clear() {
|
clear() {
|
||||||
this.search = null
|
this.search = null
|
||||||
// this.selectedItem = null
|
|
||||||
this.showResults = false
|
this.showResults = false
|
||||||
this.series = []
|
this.series = []
|
||||||
this.books = []
|
this.books = []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue