Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions extend/component/ui-options/configuration-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ The following `options` keys can be used in property definitions:
| `options.grid_columns` | Number of grid columns (1–12) in `grid`/`grid-strict` layouts |
| `options.grid_break` | Force a new row in grid layouts |
| `options.editor` | CodeMirror editor options: `mode`, `lineNumbers`, `lint`, `input_height` |
| `options.encryption_hint` | Set to `false` to hide the "properties prefixed with `#` will be encrypted" note under a JSON-mode `editor` field. See [Codemirror Editor](/extend/component/ui-options/configuration-schema/examples/#codemirror-jsonsqlpython-editor). |
| `options.input_height` | Height for textarea fields (e.g., `"100px"`) |
| `options.inputAttributes` | HTML input attributes (e.g., `placeholder`) |
| `options.only_keys` | SSH editor variant showing only key fields |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,30 @@ Allowed options: mode, placeholder, autofocus, lineNumbers lint
Available modes: `text/x-sfsql`, `text/x-sql`, `text/x-plsql`, `text/x-python`, `text/x-julia`, `text/x-rsrc`, `application/json`
JSON mode supports encryption. Default mode is `application/json` . You should set type base on mode (string or object).

A JSON-mode editor stores the parsed JSON, so keys prefixed with `#` inside the field are
[encrypted](/overview/encryption/) on save. The UI states this in a note below the editor. If the field does not hold
Keboola configuration (a vendor query filter, a request payload template), that note advertises something the component
cannot use --- the platform would encrypt the key and the component would receive the ciphertext. Hide the note with
`options.encryption_hint: false`:

```json
{
"filters": {
"type": "object",
"title": "Filters",
"format": "editor",
"options": {
"editor": {
"mode": "application/json"
},
"encryption_hint": false
}
}
}
```

The option only affects the note. Encryption itself is unchanged: a `#`-prefixed key is still encrypted on save.

**JsonSchema examples:**

```json
Expand Down
Loading