feat/tool-oauth
zxhlyh 7 months ago
parent 498d8ab33c
commit e4cf6a497b

@ -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
})

Loading…
Cancel
Save