feat: only validate field on submit only

This commit is contained in:
Methapon2001 2024-07-26 11:05:07 +07:00
parent 10e0d638f5
commit c3ac90429e
26 changed files with 164 additions and 14 deletions

View file

@ -1799,6 +1799,7 @@ watch(
class="row q-py-sm q-px-md justify-between full-width surface-3 bordered-b"
>
<q-input
lazy-rules="ondemand"
for="input-search"
outlined
:class="{ 'col-12': $q.screen.lt.md }"
@ -1820,6 +1821,7 @@ watch(
style="white-space: nowrap"
>
<q-select
lazy-rules="ondemand"
v-model="currentStatus"
for="select-status"
outlined
@ -1841,6 +1843,7 @@ watch(
></q-select>
<q-select
lazy-rules="ondemand"
v-if="modeView === false"
id="select-field"
for="select-field"
@ -2472,6 +2475,7 @@ watch(
class="row justify-between items-center q-px-md q-py-sm surface-3 bordered-b"
>
<q-input
lazy-rules="ondemand"
:class="{ 'col-12': $q.screen.lt.md }"
outlined
dense
@ -2492,6 +2496,7 @@ watch(
style="white-space: nowrap"
>
<q-select
lazy-rules="ondemand"
v-model="currentStatus"
outlined
dense
@ -2513,6 +2518,7 @@ watch(
></q-select>
<q-select
lazy-rules="ondemand"
v-if="modeView === false"
:hide-dropdown-icon="$q.screen.lt.sm"
id="select-field"
@ -3321,6 +3327,7 @@ watch(
<div class="row items-center">
<q-space />
<q-input
lazy-rules="ondemand"
id="input-search-add-product"
outlined
style="width: 250px"