6e453b3f08
* make widget docs editable * update widget doc frontmatter keys * improve docs preview * fix formatting * fix preview * add prism highlighting for previews * fix formatting * restore cms branch
17 lines
389 B
Markdown
17 lines
389 B
Markdown
---
|
|
label: "String"
|
|
title: string
|
|
---
|
|
|
|
The string widget translates a basic text input to a string value. For larger textarea inputs, use the text widget.
|
|
|
|
- **Name:** `string`
|
|
- **UI:** text input
|
|
- **Data type:** string
|
|
- **Options:**
|
|
- `default`: accepts a string; defaults to an empty string
|
|
- **Example:**
|
|
```yaml
|
|
- {label: "Title", name: "title", widget: "string"}
|
|
```
|