fix: add validation rules for group selection in FormBasicInfoAgencies component
This commit is contained in:
parent
556612d747
commit
f18d34b02d
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ type Options = { label: string; value: string };
|
||||||
(lhs: Options, rhs: Options) => lhs.value.localeCompare(rhs.value),
|
(lhs: Options, rhs: Options) => lhs.value.localeCompare(rhs.value),
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
:rules="[(val: string) => !!val || $t('form.error.required')]"
|
||||||
v-model="group"
|
v-model="group"
|
||||||
>
|
>
|
||||||
<template v-slot:option="{ scope, opt }">
|
<template v-slot:option="{ scope, opt }">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue