fix .prevent

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-05-23 11:47:17 +07:00
parent 409292b699
commit 1b42277dcb
70 changed files with 72 additions and 72 deletions

View file

@ -366,7 +366,7 @@ onMounted(async () => {
dense
v-model="filters"
label="ค้นหา"
@keydown.enter="onSearch"
@keydown.enter.prevent="onSearch"
>
<template v-slot:append>
<q-icon name="search" />

View file

@ -294,7 +294,7 @@ watch(
v-model="filter"
placeholder="ค้นหา"
style="width: 200px; max-width: auto"
@keydown.enter="onSearch"
@keydown.enter.prevent="onSearch"
>
<template v-slot:append>
<q-icon name="search" />

View file

@ -1459,7 +1459,7 @@ onMounted(async () => {
v-model="filterlistAdd"
placeholder="ค้นหา"
style="width: 850px; max-width: auto"
@keydown.enter="onSearchAdd"
@keydown.enter.prevent="onSearchAdd"
>
<template v-slot:append>
<q-icon name="search" />

View file

@ -296,7 +296,7 @@ function filterSelector(val: string, update: Function) {
placeholder="ค้นหา"
style="max-width: 200px"
class="q-ml-sm"
@keydown.enter="onUpdateNewRows"
@keydown.enter.prevent="onUpdateNewRows"
>
<template v-slot:append> </template>
</q-input>