Ga naar hoofdinhoud

CnDeckCardCreate

Inline-create dialog for a fresh Nextcloud Deck card linked to the parent OpenRegister object. Part of the Deck integration leaf; the counterpart to CnDeckCardPicker (which links an existing card).

Form fields: Board (required, from GET /api/integrations/deck/boards), Stack (required, cascades on board change via …/boards/{id}/stacks), Title (required), Description (optional), Due date (optional).

Props

PropTypeDefaultDescription
openBooleanfalseControls modal visibility (v-model-style with update:open).

Events

EventPayloadDescription
create{ boardId, stackId, title, description, due }Emitted on confirm with the new card payload.
update:openbooleanModal open-state change.

Usage

<CnDeckCardCreate :open.sync="createOpen" @create="onCreate" />

Additional props

PropTypeDefaultDescription
apiBaseStringBase path for the Deck integration API.
dialogTitleStringOverride for the dialog title.