settings rewrite to JS
This commit is contained in:
@@ -382,12 +382,15 @@ Below are some general additional notes, when defining `params`:
|
||||
> ```
|
||||
|
||||
|
||||
#### Setting object structure
|
||||
#### ⚙ Setting object structure
|
||||
|
||||
Required attributes are:
|
||||
|
||||
- `"function": "<see Supported settings function values>"` - What function the setting drives or a simple unique code name
|
||||
- `"type": "<text|integer|boolean|password|readonly|integer.select|text.select|text.multiselect|list|integer.checkbox>"` - The form control used for the setting displayed in the Settings page and what values are accepted.
|
||||
- `"localized"` - a list of properties on the current JSON level which need to be localized
|
||||
- `"name"` and `"description"` - Displayed in the Settings page. An array of localized strings. (see Localized strings below).
|
||||
- (optional) `"events"` - `<test|run>` - to generate an execution button next to the input field of the setting (not fully tested)
|
||||
|
||||
##### Supported settings `function` values
|
||||
|
||||
|
||||
Reference in New Issue
Block a user