Tags

The Tags field will render an input where you can create tags by inputting your tag and hitting enter. The return value will be an array of strings.

Tags Field
{
  name: 'tagsName',
  label: 'Tags Field',
  component: 'tags',
  defaultValue: ['default-tag'],
}

Key

Type

Required

Description

component

string

yes

The name of the field component. (tags)

name

string

yes

The name of the field that will be accessible by the cms prop of the component.

label

string

no

A human-readable label for the field.

description

string

no

A short description of the setting scope.

defaultValue

Array<string>

no

An array of strings as your default values.

Last updated