There seem to be two different types of dropdown menus possible when creating a dashboard. One just has the options you set as choices, the other has a little search box at the top of the list. How do I disable that search box? My dropdown only has 4 options, so there is no need for anyone to search and it is a waste of space in my menu. I could not find anything in the Simple XML Reference that addressed this, though I may have simply overlooked it.
----update to add code----
This is the code I'm using that results in a search box above the options:
<input type="dropdown" searchWhenChanged="true" token="time_range1">
<label>Select a time:</label>
<choice value="-d@d">Today</choice>
<choice value="-48h@h">Last 48 hours</choice>
<choice value="-7d@d">Last 7 days</choice>
<choice value="-30d@d">Last 30 days</choice>
<default>-d@d</default>
<showClearButton>false</showClearButton>
</input>
Not sure If I get your problem correctly. (checked on Splunk 6.5 and 6.2) There is a regular dropdown where you can select single values and it doesn't have a search box, and there is multiselect dropdown where you can select multiple options and it does provide a search box to be able to type in the choices. If you want to fixed, non-searchable dropdown, use the regular dropdown only (not multiselect).
I've updated my question to add the XML I'm using that gives me the search box in the dropdown. I'm stuck in Splunk 6.2.2 for the moment.
Try adding this option
<allowCustomValues>false</allowCustomValues>
That only seems to determine whether or not the value put in the search is accepted or not, it doesn't actually get rid of the search box itself.
Ah, i see. There is probably not a way of hiding it. They likely show it in case you have many options and it does on-demand filtering.
The only way I can think of trying to hide it would be JS or CSS stuff, which would probably be overkill.