1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 22:39:18 +01:00

fix: fixes broken enter on fuzy dialog (#2658)

This commit is contained in:
Amir Raminfar
2024-01-05 13:01:21 -08:00
committed by GitHub
parent d5724d2652
commit aac38d954d

View File

@@ -8,7 +8,7 @@
ref="input"
@keyup.down="selectedIndex = Math.min(selectedIndex + 1, data.length - 1)"
@keyup.up="selectedIndex = Math.max(selectedIndex - 1, 0)"
@keyup.enter.exact="selected(data[selectedIndex])"
@keyup.enter.exact="selected(data[selectedIndex].item)"
@keyup.alt.enter="addColumn(data[selectedIndex])"
v-model="query"
:placeholder="$t('placeholder.search-containers')"