Skip to main content

CnTasksWidgetForm

Config sub-form for a CnTasksWidget (tasks) placement. Used by CnAddWidgetModal and the cog style editor.

Deliberately small: whose inbox it is stays the endpoint's decision, so there is no user, register or schema to pick. What IS a choice: the scope (assigned to me, pool, watched, everything), how many rows the cell holds, how often to refetch, an optional in-app route for row clicks, and what to say when the inbox is empty.

Props

PropTypeDefaultDescription
editingWidgetobjectnullThe placement being edited; pre-fills from editingWidget.content.
valueobjectregistry defaultsInitial content values when not editing.

Events

EventPayloadDescription
update:contentobjectThe assembled content blob, emitted on every field change.

Methods

MethodReturnsDescription
validate()booleanAlways true: every field has a working default, so this widget can never be added in a broken state.