I have two dropdownlist. Second dropdown list should show/hide based on first drop down list value. (based on two values) With one value works fine.
<input type="dropdown" token="sourceToken" depends="$t1_token$" searchWhenChanged="false">
I have tried as below for two values : But it not working
<input type="dropdown" token="sourceToken" depends="$t1_token$,$t2_token$" searchWhenChanged="false">
<input type="dropdown" token="sourceToken" depends="t1_token,t2_token" searchWhenChanged="false">
it is not working. Please advise
The first version
depends="$t1_token$,$t2_token$"
should work (it does for me). Which version of Splunk are you using?
Just to clarify, the depends attribute works on the presence / absence of a token having a non-null value, not on a specific value of the token. Without the rest of the dashboard, it is not clear whether you are using tokens in this way.