diff --git a/README.md b/README.md index a794352..8901ed0 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ $ npm install @great-expectations/jsonforms-antd-renderers ### Using AntD Renderers -In order to use this package, you need to import the renderer registry entries from this package and provide them to the `@jsonforms/react` `JsonForms` component: +In order to use this package you need to import the renderer registry entries from this package and provide them to the `@jsonforms/react` `JsonForms` component: ```tsx import { JsonForms } from "@jsonforms/react" diff --git a/src/controls/BooleanControl.tsx b/src/controls/BooleanControl.tsx index a64c8c6..89520ba 100644 --- a/src/controls/BooleanControl.tsx +++ b/src/controls/BooleanControl.tsx @@ -19,6 +19,8 @@ export function BooleanControl({ config, description, }: ControlProps) { + if (!visible) return null + const isValid = errors.length === 0 const appliedUiSchemaOptions = { ...(config as Record),