fix .prevent
This commit is contained in:
parent
409292b699
commit
1b42277dcb
70 changed files with 72 additions and 72 deletions
|
|
@ -139,7 +139,7 @@ function resetFilter() {
|
|||
outlined
|
||||
placeholder="ค้นหา"
|
||||
style="max-width: 200px"
|
||||
@keydown.enter="props.onSearch?.()"
|
||||
@keydown.enter.prevent="props.onSearch?.()"
|
||||
>
|
||||
<template v-slot:append>
|
||||
<q-icon name="search" />
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ const resetFilter = () => {
|
|||
placeholder="ค้นหา"
|
||||
style="max-width: 200px"
|
||||
class="q-ml-sm"
|
||||
@keydown.enter="props.onSearch?.(name)"
|
||||
@keydown.enter.prevent="props.onSearch?.(name)"
|
||||
>
|
||||
<template v-slot:append>
|
||||
<q-icon name="search" />
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ function resetFilter() {
|
|||
dense
|
||||
v-model="filter"
|
||||
ref="filterRef"
|
||||
@keydown.enter="onSearch"
|
||||
@keydown.enter.prevent="onSearch"
|
||||
outlined
|
||||
placeholder="ค้นหา"
|
||||
style="max-width: 200px"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue