Skip to content

Commit

Permalink
Merge pull request #3884 from jinseoplee/fix-simpleForm
Browse files Browse the repository at this point in the history
Fix error occur when use SimpleForm with ArrayInput
  • Loading branch information
fzaninotto authored Oct 29, 2019
2 parents b9973de + 899d6e2 commit 66d8dd1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/ra-ui-materialui/src/form/SimpleForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const SimpleForm = ({ initialValues, defaultValue, saving, ...props }) => {
onSubmit={submit}
mutators={{ ...arrayMutators }}
keepDirtyOnReinitialize
destroyOnUnregister
subscription={defaultSubscription}
{...props}
render={formProps => (
Expand Down
1 change: 0 additions & 1 deletion packages/ra-ui-materialui/src/form/TabbedForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ const TabbedForm = ({ initialValues, defaultValue, saving, ...props }) => {
mutators={{ ...arrayMutators }}
setRedirect={setRedirect}
keepDirtyOnReinitialize
destroyOnUnregister
subscription={defaultSubscription}
{...props}
render={formProps => (
Expand Down

0 comments on commit 66d8dd1

Please sign in to comment.