refactor: header only EN

This commit is contained in:
Net 2024-09-09 16:21:54 +07:00
parent 773aa37d15
commit 95d25a9320
6 changed files with 23 additions and 3 deletions

View file

@ -155,7 +155,7 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
? $t('branch.form.headofficeNameEN')
: $t('branch.form.branchNameEN')
"
:rules="[(val) => val && val.length > 0]"
:rules="[(val) => val && /^[A-Za-z]+$/.test(val)]"
:error-message="$t('form.error.required')"
for="input-name-en"
/>