fix: update rules for agency prefix name field
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
ef81522561
commit
8c9e9abc18
1 changed files with 3 additions and 1 deletions
|
|
@ -102,7 +102,9 @@ watch(
|
|||
:option="optionStore.globalOption?.prefix"
|
||||
:id="`${prefixId}-select-prefix-name`"
|
||||
:for="`${prefixId}-select-prefix-name`"
|
||||
:rules="[(val: string) => !!val || $t('form.error.required')]"
|
||||
:rules="
|
||||
agency ? [] : [(val: string) => !!val || $t('form.error.required')]
|
||||
"
|
||||
:label="$t('personnel.form.prefixName')"
|
||||
class="col-md-1 col-6"
|
||||
v-model="prefixName"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue