diff --git a/src/i18n/eng.ts b/src/i18n/eng.ts index 39da457e..5546d0b8 100644 --- a/src/i18n/eng.ts +++ b/src/i18n/eng.ts @@ -340,7 +340,7 @@ export default { requireLength: 'Please enter {msg} character', branchNameField: "Only letters, numbers, or the characters . , - ' &.", branchNameENField: - "Only English letters, numbers, or the characters . , - ' &.", + "Only English letters, numbers, or the characters . , - ' &. ( )", passportFormat: 'Please enter the passport number in the correct format.', }, warning: { diff --git a/src/i18n/tha.ts b/src/i18n/tha.ts index 0558bd78..64411146 100644 --- a/src/i18n/tha.ts +++ b/src/i18n/tha.ts @@ -337,7 +337,7 @@ export default { letterAndNumOnly: 'โปรดใช้เฉพาะ _ ตัวอักษรภาษาอังกฤษและตัวเลขเท่านั้น', numOnly: 'โปรดใช้เฉพาะตัวเลขเท่านั้น', requireLength: 'กรุณากรอกให้ครบ {msg} หลัก', - branchNameField: "โปรดใช้ตัวอักษร ตัวเลข หรือ . , - ' & เท่านั้น", + branchNameField: "โปรดใช้ตัวอักษร ตัวเลข หรือ . , - ' ( ) & เท่านั้น", branchNameENField: "โปรดใช้ตัวอักษรภาษาอังกฤษ ตัวเลข หรือ . , - ' & เท่านั้น", passportFormat: 'กรุณากรอกหมายเลขพาสปอร์ตให้ถูกต้องตามรูปแบบ', diff --git a/src/pages/03_customer-management/components/employer/EmployerFormAbout.vue b/src/pages/03_customer-management/components/employer/EmployerFormAbout.vue index f98df3da..0d19e8e9 100644 --- a/src/pages/03_customer-management/components/employer/EmployerFormAbout.vue +++ b/src/pages/03_customer-management/components/employer/EmployerFormAbout.vue @@ -140,7 +140,7 @@ watch( :rules="[ (val) => !!val || $t('form.error.required'), (val) => - /^[A-Za-z0-9ก-๙\s&.,'-]+$/.test(val) || + /^[A-Za-z0-9ก-๙\s&.,'()-]+$/.test(val) || $t('form.error.branchNameField'), ]" />