forked from verdnatura/salix-front
refs #6911 feat: remove keyup.eneter=submit for each form
This commit is contained in:
parent
901c8c8f71
commit
628d5453a8
|
@ -211,7 +211,6 @@ watch(formUrl, async () => {
|
|||
<QForm
|
||||
v-if="formData"
|
||||
@submit="save"
|
||||
@keyup.enter="save"
|
||||
@reset="reset"
|
||||
class="q-pa-md"
|
||||
id="formModel"
|
||||
|
|
|
@ -67,7 +67,7 @@ async function remove({ id }) {
|
|||
<QPage class="column items-center q-pa-md sticky">
|
||||
<QPageSticky expand position="top" :offset="[16, 16]">
|
||||
<QCard class="card q-pa-md">
|
||||
<QForm @submit="submit" @keyup.enter="submit">
|
||||
<QForm @submit="submit">
|
||||
<VnInput
|
||||
ref="input"
|
||||
v-model="newRma.code"
|
||||
|
|
|
@ -55,7 +55,7 @@ const onSubmit = async () => {
|
|||
<QDialog ref="dialogRef">
|
||||
<QCard class="q-pa-md q-mb-md">
|
||||
<QCardSection>
|
||||
<QForm @submit="onSubmit()" @keyup.enter="onSubmit()" class="q-pa-sm">
|
||||
<QForm @submit="onSubmit()" class="q-pa-sm">
|
||||
<div>
|
||||
{{
|
||||
t('Add observation to all selected clients', {
|
||||
|
|
|
@ -67,11 +67,7 @@ async function onSubmit() {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<QForm
|
||||
@submit="onSubmit"
|
||||
@keyup.enter="onSubmit"
|
||||
class="q-gutter-y-md q-pa-lg formCard"
|
||||
>
|
||||
<QForm @submit="onSubmit" class="q-gutter-y-md q-pa-lg formCard">
|
||||
<VnLogo alt="Logo" fit="contain" :ratio="16 / 9" class="q-mb-md" />
|
||||
|
||||
<VnInput
|
||||
|
|
|
@ -48,11 +48,7 @@ async function onSubmit() {
|
|||
}
|
||||
</script>
|
||||
<template>
|
||||
<QForm
|
||||
@submit="onSubmit"
|
||||
@keyup.enter="onSubmit"
|
||||
class="q-gutter-y-md q-pa-lg formCard"
|
||||
>
|
||||
<QForm @submit="onSubmit" class="q-gutter-y-md q-pa-lg formCard">
|
||||
<div class="column items-center">
|
||||
<QIcon name="phonelink_lock" size="xl" color="primary" />
|
||||
<h5 class="text-center q-my-md">{{ t('twoFactor.insert') }}</h5>
|
||||
|
|
|
@ -211,7 +211,6 @@ const onThermographCreated = async (data) => {
|
|||
:observe-form-changes="viewAction === 'create'"
|
||||
:default-actions="true"
|
||||
@submit="onSubmit()"
|
||||
@keyup.enter="onSubmit()"
|
||||
class="full-width"
|
||||
style="max-width: 800px"
|
||||
>
|
||||
|
|
|
@ -242,12 +242,7 @@ function exceedMaxHeight(pos) {
|
|||
|
||||
<template>
|
||||
<QPage class="q-pa-sm q-mx-xl">
|
||||
<QForm
|
||||
@submit="onSubmit()"
|
||||
@keyup.enter="onSubmit()"
|
||||
@reset="onReset()"
|
||||
class="q-pa-sm"
|
||||
>
|
||||
<QForm @submit="onSubmit()" @reset="onReset()" class="q-pa-sm">
|
||||
<QCard class="q-pa-md">
|
||||
<VnInput
|
||||
filled
|
||||
|
|
|
@ -89,12 +89,7 @@ function filterType(val, update) {
|
|||
|
||||
<template>
|
||||
<QPage class="q-pa-sm q-mx-xl">
|
||||
<QForm
|
||||
@submit="onSubmit()"
|
||||
@keyup.enter="onSubmit()"
|
||||
@reset="onReset()"
|
||||
class="q-pa-sm"
|
||||
>
|
||||
<QForm @submit="onSubmit()" @reset="onReset()" class="q-pa-sm">
|
||||
<QCard class="q-pa-md">
|
||||
<div class="row q-col-gutter-md">
|
||||
<div class="col">
|
||||
|
|
Loading…
Reference in New Issue