Text

Displays input text.

Interface

interface ITextField extends IBaseField {
  validateCommunity?: boolean;
}

Example

Text
{
  "name": "title",
  "type": "Text",
  "label": {
    "en-US": "Title",
    "es-ES": "Título"
  },
  "description": {
    "en-US": "Write a title for the article",
    "es-ES": "Escriba el título del artículo"
  },
  "validation": {
    "required": true
  }
}

Properties

type

Must be “Text”.

  • Type: "Text"

  • Required: Yes

validateCommunity

If true, check if the community name exists.

  • Type: boolean

  • Required: No