fix: add validation rules for group selection in FormBasicInfoAgencies component

This commit is contained in:
puriphatt 2025-02-10 09:43:46 +07:00
parent 556612d747
commit f18d34b02d

View file

@ -46,6 +46,7 @@ type Options = { label: string; value: string };
(lhs: Options, rhs: Options) => lhs.value.localeCompare(rhs.value),
)
"
:rules="[(val: string) => !!val || $t('form.error.required')]"
v-model="group"
>
<template v-slot:option="{ scope, opt }">