I have the following dropdowns, now if I select test1 and then test11 in the second dropdown, when I change the first one to be test2, the second dropdown holds the old value and shows test11 although that's not a valid option. <form version="1.1" theme="dark">
<fieldset>
<input type="dropdown" token="test">
<label>Test</label>
<choice value="*">All</choice>
<choice value="test1">test1</choice>
<choice value="test2">test2</choice>
</input>
<input type="dropdown" token="dependsontest" searchWhenChanged="false">
<label>DependsOnTest</label>
<fieldForLabel>$test$</fieldForLabel>
<fieldForValue>$test$</fieldForValue>
<choice value="*">All</choice>
<search>
<query>| makeresults
| fields - _time
| eval test1="test11,test12",test2="test21,test22"
| fields $test$
| makemv $test$ delim=","
| mvexpand $test$</query>
</search>
</input>
</fieldset>
</form> I tried the <selectFirstChoice>true</selectFirstChoice> and default values but those didn't work. How can I go about this ? EDIT: I tried using the "change" and "condition" and found out that the "dependsontest" token gets updated but the dropdown UI doesn't.
... View more