diff --git a/packages/editor-sdk/src/components/Widgets/CategoryWidget.tsx b/packages/editor-sdk/src/components/Widgets/CategoryWidget.tsx index 15fbba1e2..b7c857a6d 100644 --- a/packages/editor-sdk/src/components/Widgets/CategoryWidget.tsx +++ b/packages/editor-sdk/src/components/Widgets/CategoryWidget.tsx @@ -97,7 +97,10 @@ export const CategoryWidget: React.FC> = props = if (typeof propertySpec === 'boolean') { return null; } - return shouldRender(propertySpec.conditions || [], value) ? ( + return shouldRender( + propertySpec.conditions || [], + services.stateManager.deepEval(value) + ) ? ( > = props => { return null; } - return shouldRender(subSpec.conditions || [], value) ? ( + return shouldRender( + subSpec.conditions || [], + services.stateManager.deepEval(value) + ) ? (