diff --git a/docs/CreateEdit.md b/docs/CreateEdit.md index 09ee2e7a2dd..c39140e9249 100644 --- a/docs/CreateEdit.md +++ b/docs/CreateEdit.md @@ -1284,7 +1284,7 @@ const SaveWithNoteButton = props => { create( { - data: { ...formState.values, average_note: 10 }, + payload: { data: { ...formState.values, average_note: 10 } }, }, { onSuccess: ({ data: newRecord }) => {