fix: validation error when mount
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
This commit is contained in:
parent
5c01882a34
commit
19ee1040d4
1 changed files with 3 additions and 1 deletions
|
|
@ -92,7 +92,9 @@ function setDefaultValue() {
|
|||
:hide-selected="false"
|
||||
:fill-input="false"
|
||||
:rules="
|
||||
required ? [(v: string) => !!v || $t('form.error.required')] : undefined
|
||||
required && !readonly
|
||||
? [(v: string) => !!v || $t('form.error.required')]
|
||||
: undefined
|
||||
"
|
||||
@filter="filter"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue