Dropdown:
[
{
"type": "ia.input.dropdown",
"version": 0,
"props": {
"options": [
{
"label": "Line 11",
"value": "L11"
},
{
"label": "Line 12",
"value": "L12"
},
{
"label": "Line 21",
"value": "L21"
},
{
"label": "Line 22",
"value": "L22"
},
{
"label": "Line 31",
"value": "L31"
},
{
"label": "Line 41",
"value": "L41"
},
{
"label": "Line 51",
"value": "L51"
},
{
"label": "Line 52",
"value": "L52"
},
{
"label": "Line 61",
"value": "L61"
},
{
"label": "Line 62",
"value": "L62"
}
]
},
"meta": {
"name": "Dropdown"
},
"position": {
"x": 214,
"y": 87,
"height": 36,
"width": 256
},
"custom": {},
"propConfig": {
"custom.machine": {
"binding": {
"config": {
"expression": "if({view.params.action}=\"add\",\"\",{view.params.machine})"
},
"type": "expr"
}
},
"props.value": {
"binding": {
"config": {
"path": "view.params.machine"
},
"type": "property"
}
}
},
"events": {
"system": {
"onStartup": {
"config": {
"script": "\tself.refreshBinding('self.props.value')"
},
"scope": "G",
"type": "script"
}
}
},
"scripts": {
"customMethods": [],
"extensionFunctions": null,
"messageHandlers": [
{
"messageType": "refreshPopup",
"pageScope": true,
"script": "\tself.refreshBinding(\"self.props.value\")",
"sessionScope": true,
"viewScope": true
}
]
}
}
]
Label (Label Works):
[
{
"type": "ia.display.label",
"version": 0,
"props": {},
"meta": {
"name": "Label_0"
},
"position": {
"x": 599,
"y": 158,
"height": 32,
"width": 50
},
"custom": {},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.machine"
},
"type": "property"
}
}
}
}
]