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
Copy file name to clipboardExpand all lines: docs/guides/recurring-events.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -471,6 +471,48 @@ For example:
471
471
addEventListener(node, "click", function(){...})
472
472
~~~
473
473
474
+
## Custom confirmation modal
475
+
476
+
When a user edits or drags a recurring event, the scheduler displays a built-in modal that asks whether to modify just this occurrence, this and following events, or the entire series. You can replace it with your own UI by overriding `scheduler.ext.recurring.confirm`.
Copy file name to clipboardExpand all lines: docs/integrations/react/overview.md
+69Lines changed: 69 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -351,6 +351,75 @@ The delete confirmation dialog can be overridden via `modals`.
351
351
/>
352
352
```
353
353
354
+
### Customizing the Recurrence Confirmation Modal
355
+
356
+
When a user edits or drags a recurring event, a confirmation modal asks whether to modify just this occurrence, this and following events, or the entire series. You can replace this built-in dialog with your own using `modals.onRecurrenceConfirm`.
357
+
358
+
The callback receives a context object and must return a decision (or a Promise that resolves to one):
359
+
360
+
| Field | Type | Description |
361
+
|---|---|---|
362
+
| `origin` | `"lightbox" \|"dnd"` | Whether the action was triggered from the lightbox or drag-and-drop |
363
+
| `occurrence` | `any` | The specific occurrence being edited |
0 commit comments