refactor: add keydown event listener to search input

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-05-12 11:42:03 +07:00
parent 3c91c0db16
commit b1a7983b00
8 changed files with 8 additions and 0 deletions

View file

@ -332,6 +332,7 @@ watch(
outlined
dense
label="คำค้น"
@keydown.enter.prevent="searchInput()"
>
<template v-slot:after>
<q-btn

View file

@ -187,6 +187,7 @@ watch(modal, (val) => {
dense
label="คำค้น"
@clear="search = ''"
@keydown.enter.prevent="onSearchData()"
/>
</div>
<q-checkbox