External Form

Own the form layout and draft state while using the Scheduler mutation pipeline.

Inline appointment form

The following example demonstrates an external handover form. Activate an appointment to edit its title and note below the calendar. Dates and assignments are preserved.

UTC

2026-12-02 – 2026-12-02

Wed, Dec 2

All day
08:0009:0010:0011:0012:0013:0014:0015:0016:0017:00

No changes saved · Requests: 0

      const result = await scheduler.submitMutation({
  kind: 'update', event: draft, original: originalSnapshot
});
if (result) closeExternalForm(); // mutationComplete updates the application collection.
// For deletion: ask for confirmation, then submitMutation(request, true).
// <ngb-scheduler editMode="external" [mutationHandler]="persist"
//   (eventActivate)="openExternalForm($event)" (mutationComplete)="apply($event)" />
    

Submission and ownership

Set editMode="external" to suppress built-in editor actions. Submit a detached event and its original using submitMutation. It returns a successful mutation or null and exposes editError. Update your events from mutationComplete, once.

Bind disabled states to mutationPending(). A delete requires a separate confirmation and submitMutation(request, true). The pipeline validates identity, dates, policy and stale originals; it blocks overlapping default/external requests. Your form owns labels, validation feedback, draft cancellation and focus. This example prevents switching appointments while a draft is open.