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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
editingWidget | object | null | The placement being edited, or null in create mode. | |
value | object | \{ ...DEFAULT_CONTENT \} | Initial content values when not editing (registry defaults). | |
calendarsFetcher | Function | null | Optional 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
| Name | Payload | Description |
|---|---|---|
update:content | — | Emitted with the assembled content blob on every change. |