Skip to content

Commit 7958931

Browse files
committed
fix(rendrer): remove clearOnUnmount from fieldApi clean props.
1 parent 998a11a commit 7958931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-form-renderer/src/files/use-field-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const useFieldApi = ({ name, initializeOnMount, component, render, validate, dat
4949
});
5050
}
5151

52-
const { initialValue, ...cleanProps } = props;
52+
const { initialValue, clearOnUnmount, ...cleanProps } = props;
5353

5454
/**
5555
* construct component props necessary that would live in field provider

0 commit comments

Comments
 (0)