diff --git a/docs/CreateEdit.md b/docs/CreateEdit.md index 2c01eb12504..66b1b9ab35a 100644 --- a/docs/CreateEdit.md +++ b/docs/CreateEdit.md @@ -2248,7 +2248,7 @@ const dataProvider = { ## Using `onSave` To Alter the Form Submission Behavior -**Deprecated**: use the `` prop instead. +**Deprecated**: use the `` prop instead. React-admin provides a way to override the data provider call executed upon submission, and its side effects, in the ``. It's called `onSave`, and here is how you would use it: diff --git a/docs/Reference.md b/docs/Reference.md index a4515ae3cda..8c1a0f05f2d 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -32,7 +32,7 @@ title: "Reference" * `` * [``](./CreateEdit.md#the-create-and-edit-components) * `` -* `` +* [``](./Buttons.md#createbutton) * [``](https://marmelab.com/ra-enterprise/modules/ra-form-layout#createdialog--editdialog) * `` * [``](./List.md#the-datagrid-component) @@ -49,13 +49,13 @@ title: "Reference" * [``](https://marmelab.com/ra-enterprise/modules/ra-editable-datagrid) * [``](./CreateEdit.md#the-editguesser-component) * `` -* `` +* [``](./Buttons.md#editbutton) * [``](https://marmelab.com/ra-enterprise/modules/ra-form-layout#createdialog--editdialog) * [``](./Fields.md#emailfield) * [``](./Fields.md#filefield) * [``](./Inputs.md#fileinput) * [``](./List.md#filters-filter-inputs) -* [``](./List.md#custom-filter-button) +* [``](./Buttons.md#filterbutton) * [``](./List.md#custom-form-component) * [``](./List.md#the-filterlist-sidebar) * [``](./List.md#the-filterlist-sidebar) @@ -77,7 +77,7 @@ title: "Reference" * [``](./List.md#the-list-component) * [``](./List.md#the-listbase-component) * [``](./List.md#the-listguesser-component) -* [``](./CreateEdit.md#the-listbutton-component) +* [``](./Buttons.md#listbutton) * [``](https://marmelab.com/ra-enterprise/modules/ra-markdown#markdownfield) * [``](https://marmelab.com/ra-enterprise/modules/ra-markdown#markdowninput) * [``](./Theming.md#using-a-custom-menu) @@ -118,7 +118,7 @@ title: "Reference" * [``](./Inputs.md#selectinput) * [``](./Show.md#the-show-component) * [`` +* [``](./Buttons.md#showbutton) * [``](./Theming.md#sidebar-customization) * [``](https://marmelab.com/ra-enterprise/modules/ra-preferences#sidebaropenpreferencesync-store-the-sidebar-openclose-state-in-preferences) * [``](./CreateEdit.md#the-simpleform-component) @@ -126,7 +126,7 @@ title: "Reference" * [``](./List.md#the-simplelist-component) * [``](./Show.md#the-simpleshowlayout-component) * [``](./List.md#the-singlefieldlist-component) -* [``](./List.md#the-sortbutton-component) +* [``](./Buttons.md#sortbutton) * `` * [``](./CreateEdit.md#the-tabbedform-component) * [``](./Show.md#the-tabbedshowlayout-component)