change: form now validate on blur or malform
This commit is contained in:
parent
466d50317e
commit
b7921d4173
29 changed files with 4 additions and 179 deletions
|
|
@ -144,7 +144,6 @@ watch(
|
|||
option-value="value"
|
||||
input-debounce="0"
|
||||
option-label="label"
|
||||
lazy-rules="ondemand"
|
||||
class="col-12 col-md-4"
|
||||
autocomplete="off"
|
||||
:dense="dense"
|
||||
|
|
@ -205,7 +204,6 @@ watch(
|
|||
outlined
|
||||
for="input-bankbook"
|
||||
class="col-md-4 col-12"
|
||||
lazy-rules="ondemand"
|
||||
hide-bottom-space
|
||||
:dense="dense"
|
||||
:readonly="readonly"
|
||||
|
|
@ -227,7 +225,6 @@ watch(
|
|||
option-value="value"
|
||||
input-debounce="0"
|
||||
option-label="label"
|
||||
lazy-rules="ondemand"
|
||||
class="col-12 col-md-4"
|
||||
autocomplete="off"
|
||||
:dense="dense"
|
||||
|
|
@ -255,7 +252,6 @@ watch(
|
|||
outlined
|
||||
for="input-bankbook"
|
||||
class="col-12 col-md-4"
|
||||
lazy-rules="ondemand"
|
||||
hide-bottom-space
|
||||
:dense="dense"
|
||||
:readonly="readonly"
|
||||
|
|
@ -278,7 +274,6 @@ watch(
|
|||
outlined
|
||||
for="input-bankbook"
|
||||
class="col-12 col-md-4"
|
||||
lazy-rules="ondemand"
|
||||
hide-bottom-space
|
||||
:dense="dense"
|
||||
:readonly="readonly"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ defineProps<{
|
|||
|
||||
<div class="col-12 row q-col-gutter-sm">
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
|
|
@ -54,7 +53,6 @@ defineProps<{
|
|||
</q-input>
|
||||
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
|
|
@ -78,7 +76,6 @@ defineProps<{
|
|||
</q-input>
|
||||
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
|
|
@ -91,7 +88,6 @@ defineProps<{
|
|||
/>
|
||||
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
|
|
@ -106,7 +102,6 @@ defineProps<{
|
|||
/>
|
||||
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
|
|
@ -130,7 +125,6 @@ defineProps<{
|
|||
</q-input>
|
||||
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
|
|||
<div class="col-12 row q-col-gutter-sm">
|
||||
<div class="col-12 row q-col-gutter-sm">
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
:disable="view && !readonly"
|
||||
|
|
@ -60,7 +59,6 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
|
|||
@update:model-value="(v) => (abbreviation = v as string)"
|
||||
/>
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
readonly
|
||||
|
|
@ -85,7 +83,7 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
|
|||
|
||||
<!-- view ? `${formatCode(code, 'number')}${branchCount}` : code -->
|
||||
<!-- <q-input
|
||||
lazy-rules="ondemand"
|
||||
|
||||
v-if="typeBranch !== 'headOffice'"
|
||||
:dense="dense"
|
||||
outlined
|
||||
|
|
@ -102,7 +100,6 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
|
|||
/> -->
|
||||
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
|
|
@ -125,7 +122,6 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
|
|||
|
||||
<div class="col-12 row q-col-gutter-sm">
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
|
|
@ -142,7 +138,6 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
|
|||
for="input-name"
|
||||
/>
|
||||
<q-input
|
||||
lazy-rules="ondemand"
|
||||
:dense="dense"
|
||||
outlined
|
||||
:readonly="readonly"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue