แก้ lazy เฉพาะวันที่

This commit is contained in:
setthawutttty 2024-03-04 15:28:49 +07:00
parent 216098bb73
commit 43141e95f8
3 changed files with 17 additions and 0 deletions

View file

@ -374,6 +374,7 @@ function updatemodalPersonal(modal: boolean) {
for="prefixRef"
hide-bottom-space
:rules="[(val: string) => val !== null && val !== '' || `${'กรุณากรอกคำนำหน้า'}`]"
lazy-rules
/>
</div>
<div class="col-3">
@ -387,6 +388,7 @@ function updatemodalPersonal(modal: boolean) {
for="firstnameRef"
hide-bottom-space
:rules="[(val: string) => val !== null && val !== '' || `${'กรุณากรอกชื่อ'}`]"
lazy-rules
/>
</div>
<div class="col-3">
@ -400,6 +402,7 @@ function updatemodalPersonal(modal: boolean) {
for="lastnameRef"
hide-bottom-space
:rules="[(val: string) => !!val || `${'กรุณากรอกนามสกุล'}`]"
lazy-rules
/>
</div>
<div class="col-3">
@ -413,6 +416,7 @@ function updatemodalPersonal(modal: boolean) {
for="positionRef"
hide-bottom-space
:rules="[(val: string) => !!val || `${'กรุณากรอกตำแหน่ง'}`]"
lazy-rules
/>
</div>
<div class="col-3">