From 40f10e30cc0ea0202bc18e08c3342ff2a9104256 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 19 Nov 2025 18:03:32 +0700 Subject: [PATCH] fix:phone number --- src/modules/01_exam/components/Form/Contact.vue | 2 +- src/modules/01_exam/components/Form/Information.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/01_exam/components/Form/Contact.vue b/src/modules/01_exam/components/Form/Contact.vue index 432b230..43fa30d 100644 --- a/src/modules/01_exam/components/Form/Contact.vue +++ b/src/modules/01_exam/components/Form/Contact.vue @@ -100,7 +100,7 @@ :rules="[ (val) => !!val || '* กรุณากรอกข้อมูลหมายเลขโทรศัพท์', (val) => - (val.length >= 9 && val.length <= 10 && val.startsWith('0')) || + (val.length >= 10 && val.length <= 10 && val.startsWith('0')) || 'กรุณากรอกข้อมูลหมายเลขโทรศัพท์ให้ถูกต้อง' ]" type="tel" diff --git a/src/modules/01_exam/components/Form/Information.vue b/src/modules/01_exam/components/Form/Information.vue index 3f01f82..3bd9c1a 100644 --- a/src/modules/01_exam/components/Form/Information.vue +++ b/src/modules/01_exam/components/Form/Information.vue @@ -264,7 +264,7 @@ :rules="[ (val) => !!val || '* กรุณากรอกข้อมูลหมายเลขโทรศัพท์', (val) => - (val.length >= 9 && val.length <= 10 && val.startsWith('0')) || + (val.length >= 10 && val.length <= 10 && val.startsWith('0')) || 'กรุณากรอกข้อมูลหมายเลขโทรศัพท์ให้ถูกต้อง' ]" :counter="isStatusRegister ? true : false"