From 58a33537bd2c4c9dcc7a7b965514cd9c3bbe5637 Mon Sep 17 00:00:00 2001 From: Damilola Emmanuel Olowookere Date: Mon, 17 Feb 2025 08:12:07 +0000 Subject: [PATCH] Fix save action type --- packages/panels/docs/03-resources/04-editing-records.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/panels/docs/03-resources/04-editing-records.md b/packages/panels/docs/03-resources/04-editing-records.md index 64e6b5e7d3..f9bc16c249 100644 --- a/packages/panels/docs/03-resources/04-editing-records.md +++ b/packages/panels/docs/03-resources/04-editing-records.md @@ -305,7 +305,7 @@ To view the entire actions API, please visit the [pages section](../pages#adding ### Adding a save action button to the header -The "Save" button can be moved to the header of the page by overriding the `getHeaderActions()` method and using `getSaveFormAction()`. You need to pass `formId()` to the action, to specify that the action should submit the form with the ID of `form`, which is the `
` ID used in the view of the page: +The "Save" button can be added to the header of the page by overriding the `getHeaderActions()` method and using `getSaveFormAction()`. You need to pass `formId()` to the action, to specify that the action should submit the form with the ID of `form`, which is the `` ID used in the view of the page: ```php protected function getHeaderActions(): array