2022-09-30 11:39:35 -04:00
|
|
|
---
|
2022-10-25 09:18:18 -04:00
|
|
|
group: Widgets
|
|
|
|
title: String
|
|
|
|
weight: 24
|
2022-09-30 11:39:35 -04: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:**
|
|
|
|
```yaml
|
2022-10-25 09:18:18 -04:00
|
|
|
- {label: "Title", title: "title", widget: "string"}
|
2022-09-30 11:39:35 -04:00
|
|
|
```
|