Popup
popup
Description
Displays a popup with multiple options; good for longer complex lists of choices for the user.
Attributes
title
$capture.auto
rule
value
$capture.readonly
$data.source
: an array of data objectsvalue
: value to setdisplay
: what to show to the usericon
: icon (optional)color
: color hex value (optional)
Example
{
"type": "string",
"$capture": {
"as": "popup",
"readonly": true
},
"title": "Popup metric",
"$data": {
"source": [
{
"display": "Val1",
"value": "val1",
"icon": "heart",
"color": "red"
}
]
}
}