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
|`data`| Required |`object`|| The data used to update the record |
1367
-
|`mutationMode`| Optional |`string`|`undoable`| Mutation mode (`'undoable'`, `'pessimistic'` or `'optimistic'`) |
1368
-
|`confirmTitle`| Optional |`ReactNode`|`ra.message.bulk_update_title`| The title of the confirmation dialog when `mutationMode` is not `undoable`|
1369
-
|`confirmContent`| Optional |`ReactNode`|`ra.message.bulk_update_content`| The content of the confirmation dialog when `mutationMode` is not `undoable`|
1370
-
|`mutationOptions`| Optional |`Object`|| The react-query mutation options |
|`data`| Required |`Object`|| The data used to update the record |
1368
+
|`confirmTitle`| Optional |`ReactNode`|`ra.message.bulk_update_title`| The title of the confirmation dialog when `mutationMode` is not `undoable`|
1369
+
|`confirmContent`| Optional |`ReactNode`|`ra.message.bulk_update_content`| The content of the confirmation dialog when `mutationMode` is not `undoable`|
1370
+
|`contentTranslateOptions`| Optional |`Object`| {} | Custom id, name and record representation to be used in the confirm dialog's title |
1371
+
|`mutationMode`| Optional |`string`|`undoable`| Mutation mode (`'undoable'`, `'pessimistic'` or `'optimistic'`) |
1372
+
|`mutationOptions`| Optional |`Object`|| The react-query mutation options |
1373
+
|`titleTranslateOptions`| Optional |`Object`| {} | Custom id, name and record representation to be used in the confirm dialog's content |
1371
1374
1372
1375
`<UpdateButton>` also accepts the [Button props](./Buttons.md#button).
0 commit comments