You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`confirmContent`| Optional | React node| - | Lets you customize the content of the confirm dialog. Only used in `'pessimistic'` or `'optimistic'` mutation modes |
252
-
|`confirmTitle`| Optional |`string`| - | Lets you customize the title of the confirm dialog. Only used in `'pessimistic'` or `'optimistic'` mutation modes |
253
-
|`label`| Optional |`string`| 'ra.action.delete' | label or translation message to use |
254
-
|`icon`| Optional |`ReactElement`|`<DeleteIcon>`| iconElement, e.g. `<CommentIcon />`|
|`confirmContent`| Optional | React node | - | Lets you customize the content of the confirm dialog. Only used in `'pessimistic'` or `'optimistic'` mutation modes |
252
+
|`confirmTitle`| Optional |`string`| - | Lets you customize the title of the confirm dialog. Only used in `'pessimistic'` or `'optimistic'` mutation modes |
253
+
|`label`| Optional |`string`| 'ra.action.delete' | label or translation message to use |
254
+
|`icon`| Optional |`ReactElement`|`<DeleteIcon>`| iconElement, e.g. `<CommentIcon />`|
255
+
|`mutationMode`| Optional |`string`|`'undoable'`| Mutation mode (`'undoable'`, `'pessimistic'` or `'optimistic'`)|
**Tip:** If you choose the `'pessimistic'` or `'optimistic'` mutation mode, a confirm dialog will be displayed to the user before the mutation is executed.
|`data`| Required |`object`| - | An object with the fields that need to be updated on the selected records |
293
-
|`confirmContent`| Optional | React node| - | Lets you customize the content of the confirm dialog. Only used in `'pessimistic'` or `'optimistic'` mutation modes |
294
-
|`confirmTitle`| Optional |`string`| - | Lets you customize the title of the confirm dialog. Only used in `'pessimistic'` or `'optimistic'` mutation modes |
295
-
|`icon`| Optional |`ReactElement`|`<ActionUpdate>`| An icon element |
296
-
|`label`| Optional |`string`| 'ra.action.update' | Label or translation message to use |
|`data`| Required |`object`| - | An object with the fields that need to be updated on the selected records |
293
+
|`confirmContent`| Optional | React node | - | Lets you customize the content of the confirm dialog. Only used in `'pessimistic'` or `'optimistic'` mutation modes |
294
+
|`confirmTitle`| Optional |`string`| - | Lets you customize the title of the confirm dialog. Only used in `'pessimistic'` or `'optimistic'` mutation modes |
295
+
|`icon`| Optional |`ReactElement`|`<ActionUpdate>`| An icon element |
296
+
|`label`| Optional |`string`| 'ra.action.update' | Label or translation message to use |
297
+
|`mutationMode`| Optional |`string`|`'undoable'`| Mutation mode (`'undoable'`, `'pessimistic'` or `'optimistic'`)|
**Tip:** If you choose the `'pessimistic'` or `'optimistic'` mutation mode, a confirm dialog will be displayed to the user before the mutation is executed.
0 commit comments