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