Skip to content

Commit 740358b

Browse files
committed
Doc
1 parent 7dac6c3 commit 740358b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/guide/quick-creation-form.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Quick creation form
22

3-
Sometimes you may want to allow the creation of a new instance directly from the list page, without having to navigate to a dedicated creation page. It's especially useful when the create form does not require a lot of fields, to keep the user in the list context — and since Sharp will display a "submit and reopen" button in the modal, the user can quickly create multiple instances.
3+
Sometimes you may want to allow the creation of a new instance directly from the list page, without having to navigate to a dedicated creation form. It's especially useful when the create form does not require a lot of fields, to keep the user in the list context — and since Sharp will display a “Create and create another” button in the modal, the user can quickly create many instances.
44

55
## Prerequisites
66

@@ -36,6 +36,10 @@ class MyList extends SharpEntityList
3636

3737
Of course, ensure that these fields are defined in the Form and that all the required fields are present.
3838

39+
::: warning
40+
The quick creation form is designed for simple forms. In particular, the layout is entirely ignored, as fields are simply placed one below another. If your form contains many fields or require a specific layout, it is better to use the regular creation form.
41+
:::
42+
3943
## Redirect to the Show Page
4044

4145
When the Form is configured with `configureDisplayShowPageAfterCreation()`, and if the user does not choose to stay in creation (with the "submit and reopen" button), Sharp will redirect to the Show Page after the creation.

0 commit comments

Comments
 (0)