From e75c352a6a1991424bcc15dd350a49c3e2359fe8 Mon Sep 17 00:00:00 2001 From: pxpm Date: Tue, 25 Nov 2025 10:25:42 +0000 Subject: [PATCH] fix form component docs --- 7.x/base-components.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/7.x/base-components.md b/7.x/base-components.md index dd5da5a9..862e5106 100644 --- a/7.x/base-components.md +++ b/7.x/base-components.md @@ -97,7 +97,7 @@ This component helps you show a form _anywhere you want_, so the admin can easil ``` **Configuration options:** -- `operation='create'` - by default, the datatable component will pick up everything that controller sets up for the Create operation; if you want to change the operation it will initialize, you can pass this parameter; +- `form-operation='create'` - by default, the datatable component will pick up everything that controller sets up for the Create operation; if you want to change the operation it will initialize, you can pass this parameter; - `:entry="\App\Models\Invoice::find(1)"` - if you want to use UpdateOperation or a custom form operation that needs the entry; - `:setup="function($crud, $parent) {}"` - if you want to make changes to the operation setup (eg. add/remove fields, configure functionality), you can use this parameter; the closure passed here will be run _after_ the setup of that operation had already completed; - `:save-actions="[]"` - provide an array of save action definitions or save action classes to replace the defaults (see [Custom save actions](#dataform-custom-save-actions)); @@ -109,7 +109,7 @@ This component helps you show a form _anywhere you want_, so the admin can easil