Skip to content

Commit

Permalink
fix checkbox visibility (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiplet authored Sep 5, 2024
1 parent 41724d5 commit 6f852f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions src/controls/BooleanControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ export function BooleanControl({
config,
description,
}: ControlProps) {
if (!visible) return null

const isValid = errors.length === 0
const appliedUiSchemaOptions = {
...(config as Record<string, unknown>),
Expand Down

0 comments on commit 6f852f8

Please sign in to comment.