This commit is contained in:
zxhlyh 2025-07-15 17:37:50 +08:00
parent 498d8ab33c
commit e4cf6a497b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export const useCheckValidated = (form: AnyFormApi, FormSchemas: FormSchema[]) =
acc[condition.variable] = values[condition.variable]
return acc
}, {} as Record<string, any>)
const show = currentSchema?.show_on?.every((condition) => {
const show = show_on?.every((condition) => {
const conditionValue = showOnValues[condition.variable]
return conditionValue === condition.value
})