This is an advanced-use feature, and likely not something you'll need to configure. What you probably want is the content types reference!
The tags
field represents a collection of tags.
interface TagsField {component: 'tags'name: stringlabel?: stringdescription?: string}
This interfaces only shows the keys unique to the tags field. Visit the Field Config docs for a complete list of options.
Below is an example of how a tags
field could be defined in a form.
const FormConfig = {fields: [{type: 'string',name: 'frontmatter.tags',label: 'Tags',description: 'Tags for this post',list: true,ui: {component: 'tags',},},// ...],}
© TinaCMS 2019–2024