Unformatted Text Field

Illustrated drawing of Amadeus Maxmimilian StadlerIllustrated drawing of Amadeus Maxmimilian Stadler

Amadeus Stadler

Published August 25, 2021

The Unformatted Text field allows single- or multi-line text input with no formatting.

Editing UI Widget

This field is displayed as a text input field labelled with the field’s label in the Content Editor. If wrapping or multiline are set to true it will grow in height as more text is added.

Output Format

The Unformatted Text field outputs the text as a string.

Options

The following options are available for this field (default values shown):

{
  "wrapping": true,
  "multiline": false
}
  • wrapping: by default text that is too wide to fit into the input field will wrap so it stays legible even on smaller fields, deactivating this option will show it in a single line

  • multiline: whether or not the field should allow line breaks. If active, implicitly overrides wrapping

Validation

The following validation options are available for this field (default values shown):

{
  "enforceMinMax": true,
  "max": null,
  "min": null,
  "regex": null,
  "regexError": null,
  "required": false,
  "unit": "length"
}

Notes

This field is specifically meant for “pure” text, i.e. text without any formatting options such as bold, or italic styles. If you need those, use a Rich Text field instead.

You may also want to take a look at Link and Number fields if you are intending to use an Unformatted Text field for those purposes.

Version History

  • Version at launch: 1