From e4cf6a497b500c077ba36fb28c50a4d5753fbcc8 Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Tue, 15 Jul 2025 17:37:50 +0800 Subject: [PATCH] fix --- web/app/components/base/form/hooks/use-check-validated.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/base/form/hooks/use-check-validated.ts b/web/app/components/base/form/hooks/use-check-validated.ts index 3a6b9860fe..b4f3ec2b9a 100644 --- a/web/app/components/base/form/hooks/use-check-validated.ts +++ b/web/app/components/base/form/hooks/use-check-validated.ts @@ -19,7 +19,7 @@ export const useCheckValidated = (form: AnyFormApi, FormSchemas: FormSchema[]) = acc[condition.variable] = values[condition.variable] return acc }, {} as Record) - const show = currentSchema?.show_on?.every((condition) => { + const show = show_on?.every((condition) => { const conditionValue = showOnValues[condition.variable] return conditionValue === condition.value })