refactor: header only EN
This commit is contained in:
parent
773aa37d15
commit
95d25a9320
6 changed files with 23 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue