Skip to main content

CnCalendarWidgetForm

Config sub-form for the calendar widget — view mode, calendars, ICS URLs, days-ahead.

Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. See the widget library overview and docs/architecture/cards-and-widgets.md.

Reference

Props

NameTypeRequiredDefaultDescription
editingWidgetobjectnullThe placement being edited, or null in create mode.
valueobject\{ ...DEFAULT_CONTENT \}Initial content values when not editing (registry defaults).
calendarsFetcherFunctionnullOptional async fetcher returning the user's calendars ([{key, name, color}]). When provided, the internal-calendar free-text box is replaced by a multiselect picker. Supplied by the consuming app (which owns the calendar backend) via CnAddWidgetModal.

Events

NamePayloadDescription
update:contentEmitted with the assembled content blob on every change.