1. Home
  2. Docs
  3. docs
  4. Widgets
  5. String

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.

Name

Type

Default

Description

default

string

''

Optional. The default value for the field. Accepts a string

prefix

string

''

Optional. Text to show before string input

suffix

string

''

Optional. Text to show after string input

Example

name: title
label: Title
widget: string
name: 'title',
label: 'Title',
widget: 'string',