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

@ -310,6 +310,8 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
:label="$t('customer.form.firstNameEN')"
for="input-first-name-en"
v-model="firstNameEN"
:rules="[(val) => /^[A-Za-z]+$/.test(val)]"
:error-message="$t('form.error.letterOnly')"
/>
<q-input
dense
@ -320,6 +322,8 @@ function formatCode(input: string | undefined, type: 'code' | 'number') {
:label="$t('customer.form.lastNameEN')"
for="input-last-name-en"
v-model="lastNameEN"
:rules="[(val) => /^[A-Za-z]+$/.test(val)]"
:error-message="$t('form.error.letterOnly')"
/>
<q-input