CnTagsCard
Compact tags widget for the pluggable integration registry. Fetches the Nextcloud system tags attached to an OpenRegister object and renders them as inline pills inside a CnDetailCard. Surface-aware shell around the tags integration: handles user-dashboard, app-dashboard, detail-page, and single-entity from a single component.
Wraps: CnDetailCard
Try it
Loading CnTagsCard playground…
Usage
<CnTagsCard
:register="registerId"
:schema="schemaId"
:object-id="objectId"
surface="detail-page" />
Pass pre-translated labels when your app handles i18n:
<CnTagsCard
:register="reg"
:schema="schema"
:object-id="id"
:no-tags-label="t('myapp', 'No tags')" />
Display props
| Prop | Type | Default | Notes |
|---|---|---|---|
title | String | '' | Override the card title (defaults to the translated label). |
collapsible | Boolean | false | Whether the card collapses. |
apiBase (api-base) | String | '/apps/openregister/api' | Base API URL. |
Reference
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
register | string | ✓ | — | OpenRegister register id (slug or uuid). |
schema | string | ✓ | — | OpenRegister schema id (slug or uuid). |
objectId | string | ✓ |