#6911 save on enter #207
|
@ -78,7 +78,7 @@ const tableColumns = computed(() => [
|
|||
},
|
||||
]);
|
||||
|
||||
const fetchResults = async () => {
|
||||
const onSubmit = async () => {
|
||||
try {
|
||||
let filter = itemFilter;
|
||||
const params = itemFilterParams;
|
||||
|
@ -140,11 +140,7 @@ const selectItem = ({ id }) => {
|
|||
@on-fetch="(data) => (InksOptions = data)"
|
||||
auto-load
|
||||
/>
|
||||
<QForm
|
||||
@submit="fetchResults()"
|
||||
@keyup.enter="fetchResults()"
|
||||
class="all-pointer-events"
|
||||
>
|
||||
<QForm @submit="onSubmit()" class="all-pointer-events">
|
||||
<QCard class="column" style="padding: 32px; z-index: 100">
|
||||
<span ref="closeButton" class="close-icon" v-close-popup>
|
||||
<QIcon name="close" size="sm" />
|
||||
|
|
|
@ -85,7 +85,7 @@ const tableColumns = computed(() => [
|
|||
},
|
||||
]);
|
||||
|
||||
const fetchResults = async () => {
|
||||
const onSubmit = async () => {
|
||||
try {
|
||||
let filter = travelFilter;
|
||||
const params = travelFilterParams;
|
||||
|
@ -138,11 +138,7 @@ const selectTravel = ({ id }) => {
|
|||
@on-fetch="(data) => (warehousesOptions = data)"
|
||||
auto-load
|
||||
/>
|
||||
<QForm
|
||||
@submit="fetchResults()"
|
||||
@keyup.enter="fetchResults()"
|
||||
class="all-pointer-events"
|
||||
>
|
||||
<QForm @submit="onSubmit()" class="all-pointer-events">
|
||||
<QCard class="column" style="padding: 32px; z-index: 100">
|
||||
<span ref="closeButton" class="close-icon" v-close-popup>
|
||||
|
||||
<QIcon name="close" size="sm" />
|
||||
|
|
Loading…
Reference in New Issue
veo muchos @keyup.enter=
si todos los QForm los vamos a querer así.. @jsegarra no hay forma de hacerlo por defecto así?
Propone sustituir en todos los sitios donde haya QForm por FormModel. Lo hago en esta tarea?