fix: fix search on page load

Fix #611
This commit is contained in:
royto 2023-08-21 22:29:03 +02:00 committed by Bastien Wirtz
parent 86f3fbbfaf
commit a3c5b4ac9d
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@
<SearchInput
class="navbar-item is-inline-block-mobile"
:hotkey="searchHotkey()"
@input="filterServices($event.target?.value)"
@input="filterServices($event)"
@search-focus="showMenu = true"
@search-open="navigateToFirstService($event?.target?.value)"
@search-cancel="filterServices()"

View File

@ -5,7 +5,7 @@
type="text"
ref="search"
:value="value"
@input="search($event.target.value)"
@input.stop="search($event.target.value)"
@keyup.enter.exact="open()"
@keyup.alt.enter="open('_blank')"
/>