refactor: employee => remove validation rules for last name input
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 10s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 10s
This commit is contained in:
parent
88f40dcb47
commit
74291c0552
1 changed files with 1 additions and 7 deletions
|
|
@ -208,13 +208,7 @@ watch(
|
|||
v-model="lastNameEN"
|
||||
:rules="
|
||||
employee
|
||||
? [
|
||||
(val: string) => !!val || $t('form.error.required'),
|
||||
(val: string) =>
|
||||
!val ||
|
||||
/^[A-Za-z\s]+$/.test(val) ||
|
||||
$t('form.error.letterOnly'),
|
||||
]
|
||||
? []
|
||||
: [
|
||||
(val: string) =>
|
||||
!val ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue