Tony Alves 583377bc92 docs(fix): widget example code layout on Site (#1606)
* Fix widget example layout

* Stop running MarkDown through Prettier.
2018-08-14 08:37:07 -06:00

17 lines
392 B
Markdown

---
label: 'String'
target: 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' }
```