Skip to content

Commit 0a422fc

Browse files
Hyperkid123rvsia
authored andcommitted
fix(renderer): propagate props to root Form component.
1 parent bcc3846 commit 0a422fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react-form-renderer/src/components/form-renderer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ const FormRenderer = ({
2424
schema,
2525
validatorMapper,
2626
actionMapper,
27-
debug
27+
debug,
28+
...props
2829
}) => {
2930
let schemaError;
3031

@@ -50,6 +51,7 @@ const FormRenderer = ({
5051

5152
return (
5253
<Form
54+
{...props}
5355
onSubmit={onSubmit}
5456
mutators={{ ...arrayMutators }}
5557
decorators={[createFocusDecorator()]}

0 commit comments

Comments
 (0)