This article is outdated, you can access the most current version here: https://doc.onedata.de/apps/apps-docs/odml-documentation/AppBuilder/elements/CheckBoxElement.html
Checkbox Element
type = "checkBox"
With this Element you can change the boolean value of a Variable.
Properties
Property | Type | Description | Example Value |
id | string | The unique id assigned to the Element. This is defined by the user and used to refer to the Element in Layouts. | "id": "checkBox" |
type | string | Type of the Element. | "type ": "checkBox" |
config.label | string | Properties for the label of the CheckBox.config.variable | "label": "Test Checkbox" |
config.variable | string | Properties to assign a variable to the CheckBox. | "variable": "testVar" |
config.disabled | boolean | Properties to disable / enable the Checkbox. | "disabled": false |
config.invertValue | boolean | Properties to invert the value of the variable. Checkbox is Checked → variable value will be false. | "invertValue": true |
Example
{
"id": "checkBox",
"type": "checkBox",
"config": {
"label": "Test Checkbox",
"variable": "testVar",
"disabled": false,
"invertValue": true
}
}
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article