Skip to content

Commit e6996d2

Browse files
committed
[material] Fix renderers field type error
1 parent 7ba48a7 commit e6996d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/util/field.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,10 @@ export const mapStateToDispatchFieldProps = (
140140
ownProps: OwnPropsOfField
141141
): DispatchFieldStateProps => {
142142
const props: StatePropsOfField = mapStateToFieldProps(state, ownProps);
143+
const { renderers, ...otherOwnProps } = ownProps;
143144
return {
144145
...props,
145-
...ownProps,
146+
...otherOwnProps,
146147
fields: state.jsonforms.fields || []
147148
};
148149
};

0 commit comments

Comments
 (0)