diff --git a/docs/CreateEdit.md b/docs/CreateEdit.md index cf042babf51..ad70d4ae3f9 100644 --- a/docs/CreateEdit.md +++ b/docs/CreateEdit.md @@ -1057,10 +1057,15 @@ Here are the props received by the `Toolbar` component when passed as the `toolb **Tip**: To alter the form values before submitting, you should use the `handleSubmit` prop. See [Altering the Form Values before Submitting](#altering-the-form-values-before-submitting) for more information and examples. -**Tip**: If you want to include a `` in the ``, the props injected by `` to its children (`handleSubmit`, `handleSubmitWithRedirect`, `onSave`, `invalid`, `pristine`, `saving`, and `submitOnEnter`) will cause React warnings. You'll need to wrap `` in another component and ignore the injected props, as follows: +**Tip**: If you want to include a custom `Button` in a `` that doesn't render a react-admin `