Skip to content

Commit

Permalink
Merge pull request #4483 from ekalinin/patch-1
Browse files Browse the repository at this point in the history
CreateEdit.md: update link to react-final-form
  • Loading branch information
fzaninotto authored Mar 6, 2020
2 parents 59355a3 + 9aa3dbe commit 594b6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/CreateEdit.md
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ export const PostEdit = (props) => (
Here are the props received by the `Toolbar` component when passed as the `toolbar` prop of the `SimpleForm` or `TabbedForm` components:
* `handleSubmitWithRedirect`: The function to call in order to submit the form. It accepts a single parameter overriding the form's default redirect.
* `handleSubmit` which is the same prop as in [`react-final-form`](https://github.com/final-form/react-final-form#handlesubmit-syntheticeventhtmlformelement--promiseobject)
* `handleSubmit` which is the same prop as in [`react-final-form`](https://final-form.org/docs/react-final-form/types/FormRenderProps#handlesubmit)
* `invalid`: A boolean indicating whether the form is invalid
* `pristine`: A boolean indicating whether the form is pristine (eg: no inputs have been changed yet)
* `redirect`: The default form's redirect
Expand Down

0 comments on commit 594b6a1

Please sign in to comment.