Static CMS
Star StaticJsCMS/static-cms on GitHub
v4.3.0DocsExamplesDemoCommunity

String

  • Name: string
  • UI: Text input
  • Data type: string

The string widget translates a basic text input to a string value. For larger textarea inputs, use the text widget.

Widget Options

For common options, see Common widget options.

NameTypeDefaultDescription
defaultstring''Optional. The default value for the field. Accepts a string
prefixstring''Optional. Text to show before string input
suffixstring''Optional. Text to show after string input

Example

name: title
label: Title
widget: string