diff --git a/app/components/Admin/ModalForm.vue b/app/components/Admin/ModalForm.vue index 7ec192d..b8af52e 100644 --- a/app/components/Admin/ModalForm.vue +++ b/app/components/Admin/ModalForm.vue @@ -4,6 +4,7 @@ import { type Option } from "~/ui/SearchSelect.vue" interface BaseField { key: keyof T label?: string + visibleWhen?: (value: any) => boolean } interface TextField extends BaseField { @@ -114,7 +115,12 @@ watch(

{{ props.title }}

-