Skip to content

Commit

Permalink
fix(antd/next): fix antd/next table arr[0] path (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
WingGao authored and janryWang committed Jan 19, 2020
1 parent 2b19603 commit fb64eae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/antd/src/fields/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const FormTableField = styled(
key={newPath.toString()}
label={undefined}
>
<SchemaField path={newPath} />
<SchemaField path={newPath} schema={props} />
</CompatAntdFormItemProps>
)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const FormTableField = styled(
key={newPath.toString()}
label={undefined}
>
<SchemaField path={newPath} />
<SchemaField path={newPath} schema={props} />
</CompatNextFormItemProps>
)
}}
Expand Down

0 comments on commit fb64eae

Please sign in to comment.