I have two filters on my dashboard. One for time (using the Time filter) and one for environment (using the Dropdown filter). When I select a value from environment, it updates the time token and the dashboard panels correctly. However, it does not change the displayed value in the time filter dropdown.
For example: The dashboard defaults to Environment: Test and Time: Last 60 Minutes. If I change the Environment to Prod, then it changes the Time to Last 24 Hours, but the dropdown does not reflect that, which is confusing.
How do I get the text in the time dropdown to update when I select a value from another dropdown?
<init>
<set token="index">test</set>
<set token="time"> -60m@m</set>
</init>
<label>Test Dashboard</label>
<description>Test description.</description>
<fieldset submitButton="false">
<input type="time" token="time">
<label>Time-Picker</label>
<default>
<earliest>-60m@m</earliest>
<latest>now</latest>
</default>
</input>
<input type="dropdown" token="index" searchWhenChanged="true">
<label>Environment</label>
<choice value="prod">Prod</choice>
<choice value="test">Test</choice>
<default>test</default>
<change>
<condition label="Test">
<set token="spacename">cf_space_name="development"</set>
<set token="time">-60m@m</set>
</condition>
<condition label="Prod">
<set token="spacename">cf_space_name="production"</set>
<set token="time">@d</set>
</condition>
</change>
</input>
</fieldset>
... View more