Skip to content

Commit 268c975

Browse files
committed
fix: delete unnecessary table
1 parent 85442b2 commit 268c975

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

  • adminforth/documentation/docs/tutorial/03-Customization

adminforth/documentation/docs/tutorial/03-Customization/09-Actions.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -161,18 +161,6 @@ confirm: {
161161

162162
Omit `confirm` entirely to skip the dialog and run the action immediately.
163163

164-
### Fields
165-
166-
| Field | Type | Description |
167-
|---|---|---|
168-
| `label` | `string` | Button label shown in the list toolbar. |
169-
| `icon` | `string` | Flowbite icon for the button. |
170-
| `confirm` | `string \| { title?, message?, yes?, no? }` | Confirmation dialog. String → title only. Object → full control. If omitted, no dialog is shown. |
171-
| `successMessage` | `string` | Toast message shown after the action completes. |
172-
| `allowed` | `async ({ adminUser, selectedIds, allowedActions }) => boolean` | Called on page load (no `selectedIds`) to decide visibility, and again on click (with `selectedIds`) to authorize. |
173-
| `action` | `async ({ selectedIds, adminUser, resource, tr }) => { ok, error?, successMessage? }` | Handler called with all selected IDs at once. |
174-
| `showInThreeDotsDropdown` | `boolean` | Show in the three-dots menu of the list header instead of as a top-level button. |
175-
176164
### Access Control
177165

178166
You can control who can use an action through the `allowed` function. This function receives:

0 commit comments

Comments
 (0)