Skip to content

Commit

Permalink
[material] Fix renderers field type error
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarmueller committed Mar 18, 2019
1 parent 7ba48a7 commit e6996d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/util/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,10 @@ export const mapStateToDispatchFieldProps = (
ownProps: OwnPropsOfField
): DispatchFieldStateProps => {
const props: StatePropsOfField = mapStateToFieldProps(state, ownProps);
const { renderers, ...otherOwnProps } = ownProps;
return {
...props,
...ownProps,
...otherOwnProps,
fields: state.jsonforms.fields || []
};
};
Expand Down

0 comments on commit e6996d2

Please sign in to comment.