Hello friends!
I am working on a dashboard in Dashboard Studio and I would like to use a token collected from a dropdown input for the 'refresh' property in the code. However, whenever I enter the token value into the 'refresh' property and click 'Back', the dashboard just shows a white screen and never loads again. Although the code editor accepts the code, it appears to crash the dashboard.
I am trying to use the token in the default options like so:
"defaults": {
"dataSources": {
"ds.search": {
"options": {
"queryParameters": {
"latest": "$global_time.latest$",
"earliest": "$global_time.earliest$"
},
"refresh": "$interval$",
"refreshType": "delay"
}
}
}
},
Here's my code for the dropdown:
"input_wdjDPusg": {
"options": {
"items": [
{
"label": "1 Minute",
"value": "1m"
},
{
"label": "5 Minutes",
"value": "5m"
},
{
"label": "10 Minutes",
"value": "10m"
}
],
"token": "interval",
"defaultValue": "1m"
},
"title": "Refresh Rate",
"type": "input.dropdown"
}
Is anyone else able to recreate this issue, or able to tell me what I'm doing wrong?
Thank you!
... View more