You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following `format` values are supported in property definitions. The **Type** column shows the underlying JSON Schema `type`; italicized entries are descriptive notes, not literal `type` values.
33
+
34
+
| Format | Type | Description |
35
+
|---|---|---|
36
+
|`password`| string | Masked password input with show/hide toggle |
|`sync-action`|*Keboola UI button widget*| Action button triggering a sync action (not a JSON Schema `type`) |
49
+
|`test-connection`|*Keboola UI button widget*| Connection test button (not a JSON Schema `type`) |
50
+
51
+
### Supported Options
52
+
53
+
The following `options` keys can be used in property definitions:
54
+
55
+
| Option | Description |
56
+
|---|---|
57
+
|`options.async`| Dynamic option loading via sync actions. See [Sync Action Examples](/extend/component/ui-options/configuration-schema/sync-action-examples/). |
58
+
|`options.dependencies`| Conditional field visibility based on other field values. See [Dynamic Options](/extend/component/ui-options/configuration-schema/examples/#conditionally-showing-fields-based-on-selection). |
59
+
|`options.tags`| Enable tag-style input for multi-select arrays |
60
+
|`options.creatable`| Allow user-created values in select dropdowns |
61
+
|`options.tooltip`| Help text displayed as a tooltip icon next to the field label. Supports Markdown syntax. |
62
+
|`options.documentation`| Documentation link rendered as a book icon next to the field label. Value: `{ "link": "https://...", "tooltip": "optional hover text" }`|
63
+
|`options.enum_titles`| Display labels for `enum` values |
64
+
|`options.hidden`| Hide the field from the UI |
65
+
|`options.collapsed`| Start object sections in collapsed state |
66
+
|`options.disable_collapse`| Prevent collapsing of object sections |
67
+
|`options.enabled`| Set to `false` to disable a field |
68
+
|`options.grid_columns`| Number of grid columns (1–12) in `grid`/`grid-strict` layouts |
69
+
|`options.grid_break`| Force a new row in grid layouts |
The old `links` property is **no longer supported**. If you have existing schemas using it, migrate to `options.documentation`:
103
170
104
171
{% highlight json %}
105
172
{
@@ -130,7 +197,7 @@ but it has a `links` feature. The above example can be modified so that the link
130
197
"dateFrom": {
131
198
"title": "Date from",
132
199
"type": "string",
133
-
"description": "Any date accepted by the strtotime function",
200
+
"description": "Any date accepted by the strtotime function",
134
201
"minLength": 1,
135
202
"default": "",
136
203
"propertyOrder": 3,
@@ -163,3 +230,15 @@ Which renders like this:
163
230
164
231
{: .image-popup}
165
232

233
+
234
+
### Legacy Features
235
+
236
+
The following features are still supported for backwards compatibility but have preferred alternatives:
237
+
238
+
-**`enumSource` / `watch`** — Dynamic enum population based on other field values. For new schemas, prefer `options.async` with sync actions instead. See [Sync Action Examples](/extend/component/ui-options/configuration-schema/sync-action-examples/#autoload).
239
+
240
+
### Deprecated Features
241
+
242
+
The following features from the legacy JSON Editor library are **no longer supported**:
243
+
244
+
-**`links`** — Clickable links on field descriptions. Use `options.documentation` with `link` and optional `tooltip` instead.
Use `options.enabled: false` to render a field as read-only:
606
+
607
+
```json
608
+
{
609
+
"locked_field": {
610
+
"type": "string",
611
+
"title": "Locked Value",
612
+
"default": "Cannot be changed",
613
+
"options": {
614
+
"enabled": false
615
+
}
616
+
}
617
+
}
618
+
```
619
+
620
+
621
+
### Info Blocks
622
+
623
+
Use `format: "info"` to display a static informational message. The `title` property is used as the message text:
624
+
625
+
```json
626
+
{
627
+
"notice": {
628
+
"title": "This component requires an API token to function.",
629
+
"format": "info",
630
+
"propertyOrder": 1
631
+
}
632
+
}
633
+
```
634
+
635
+
#### Alert Type
636
+
637
+
By default, info blocks render as an informational (blue) alert. Use `options.alert_type` to change the visual style. Supported values: `"info"` (default), `"warning"`, `"error"`, `"success"`.
638
+
639
+
```json
640
+
{
641
+
"missing_token_warning": {
642
+
"title": "WARNING: API token is required!",
643
+
"format": "info",
644
+
"options": {
645
+
"alert_type": "warning"
646
+
}
647
+
}
648
+
}
649
+
```
650
+
651
+
```json
652
+
{
653
+
"config_error": {
654
+
"title": "Configuration is invalid.",
655
+
"description": "Please check the required fields below.",
656
+
"format": "info",
657
+
"options": {
658
+
"alert_type": "error"
659
+
}
660
+
}
661
+
}
662
+
```
663
+
664
+
Info blocks can be combined with `options.dependencies` to show warnings conditionally:
0 commit comments