Skip to content

Commit

Permalink
fix(schema-renderer): fix virtual box can not receive visible ant dis…
Browse files Browse the repository at this point in the history
…play (#869)
  • Loading branch information
janryWang authored May 22, 2020
1 parent b22eef5 commit 1d7d94e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/react-schema-renderer/src/components/SchemaField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ export const SchemaField: React.FunctionComponent<ISchemaFieldProps> = (
return (
<VirtualField
path={path}
visible={complieExpression(
fieldSchema.getExtendsVisible(),
expressionScope
)}
display={complieExpression(
fieldSchema.getExtendsDisplay(),
expressionScope
)}
props={complieExpression(
fieldSchema.getSelfProps(),
expressionScope,
Expand Down

0 comments on commit 1d7d94e

Please sign in to comment.