2018-01-03 20:14:15 -02:00
|
|
|
---
|
2018-08-14 11:33:13 -06:00
|
|
|
label: "String"
|
2018-07-25 07:47:26 -04:00
|
|
|
target: string
|
2018-01-03 20:14:15 -02:00
|
|
|
---
|
|
|
|
|
|
|
|
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:**
|
2018-08-14 07:37:07 -07:00
|
|
|
```yaml
|
2018-08-14 11:33:13 -06:00
|
|
|
- {label: "Title", name: "title", widget: "string"}
|
2018-08-14 07:37:07 -07:00
|
|
|
```
|