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
If you need to pass options to the `useUpdate` hook, you can use this prop.
213
+
214
+
This can be useful e.g. to pass [a custom `meta`](./Actions.md#meta-parameter) to the `dataProvider.update()` call.
215
+
216
+
{% raw %}
217
+
```tsx
218
+
<InPlaceEditor
219
+
source="phone"
220
+
mutationOptions={{ meta: { foo: 'bar' } }}
221
+
/>
222
+
```
223
+
{% endraw %}
224
+
209
225
## `notifyOnSuccess`
210
226
211
227
By default, the component does not show a notification when the record is saved. If you want to show a notification on successful save, set this prop to `true`.
0 commit comments