Text Field

Single line text input. Good for page titles, feature headlines etc.

Settings

Basic

  • Name: The human-friendly name of this field.
  • Data Key: The field name in published data. It must be in UpperCamelCase.
  • Description: The description of this field, should be a human-friendly text shown for content editor.
  • Hidden: Hide this field from the template. Used to create document with hidden default values. It is recommended that put this field to bottom.

Validation

  • Required: The field is required.
  • Min length: Restrict min length of input text.
  • Max length: Restrict max length of input text.
  • Format: Restrict the format of input text.

Default

The default value of this field when create a new document based on this template.

Transform

This field can be transformed to Textarea Field and HTML Editor.

Publish

Data Key is set as name and input contentboot to this field.

JSON data

The value of this field will be published as a string.

{
    "name": "contentboot"
}

GraphQL API

The value of this field will be published as a string.

{
    "name": "contentboot"
}
Last Updated: