Skip to main content

CnDocumentReviewWidget

The document-review widget: a CnDocumentReviewList fed from a list on the bound record, in a bordered card.

The widget registers itself as the document-review type, so a manifest places it by that key. It is also a named export:

import { CnDocumentReviewWidget } from '@conduction/nextcloud-vue'

Props​

PropTypeDefaultDescription
contentobject{}{ field, title?, nameField?, metaField?, statusField?, hrefField?, rowKey?, statuses?, defaultStatus?, emptyText?, rowAction?: { label, route } }. field is the dot path to the documents on the record (default documents). A rowAction with a route opens that route with the row's key as id; without a label there is no button.
objectDataobjectnullThe bound record.

Reference (auto-generated)​

Props​

NameTypeRequiredDefaultDescription
contentobject\{\}The widget's content. field is the dot-path to the documents on the record.
objectDataobjectnullThe bound record.