Open
Description
If there is a dependent parameter, which is based on another parameter and a script, it is loaded twice, if another parameter has a default value. E.g.:
{
"name": "Required Text",
"default": "apt"
},
{
"name": "Command-based list",
"default": "lib",
"type": "list",
"values": {
"script": "ls /var | grep -v lock | grep -v backups"
}
},
{
"name": "Dependant list",
"type": "list",
"values": {
"script": "sleep 10 && ls /var/${Command-based list}/${Required Text}",
"shell": true
}
}
In this cage, the script is invoked when a page is loading and then once again, after UI is rendered already