refactor: id use value

This commit is contained in:
Thanaphon Frappet 2025-02-17 16:09:26 +07:00
parent e7897fba32
commit 4c4eb8443a

View file

@ -743,7 +743,7 @@ onMounted(async () => {
v-if="step.responsibleInstitution"
>
<q-checkbox
:id="`select-responsible-institution-${index}-${opt.label}-${onDrawer ? 'drawer' : 'dialog'}`"
:id="`select-responsible-institution-${index}-${opt.value}-${onDrawer ? 'drawer' : 'dialog'}`"
:model-value="
step.responsibleInstitution.some(
(v: string) => v === opt.value,