text_field
Single-line text input. Docs
The simplest controls. Single-line input (`text`) or multi-line (`textarea`). Both store a single string.
Stored: string
Supports
- Plain string values, no formatting
- Validation rules (required, minLength, maxLength, pattern)
- Placeholder text and inline help
Config options
defaultstring- Initial value if the author hasn't edited the field.
placeholderstring- Greyed-out hint shown when the input is empty.
helpTextstring- One-line description shown below the input.
validation.requiredboolean- Block save until the field is filled in.
validation.minLengthnumber- Minimum character count.
validation.maxLengthnumber- Maximum character count. Shown as "X / Y" counter in the editor.
validation.patternstring (regex)- Regex the value must match. Enforced client- and server-side.
Raw value
"Single-line text input."



