Hello
i have a dropdown list in my dashboard
after im selecting object from the list the text box disappears and there is no way to change the selection, only refreshing the page
anyone noticed such behaviour ?
thanks
it is working now
i guess it was really setting issue
thanks for your help
Just ran into the same issue with the same fix (close browser and reopen)
I recreated the error using the following steps:
1. create a text input field with label/token field1
2. create a drop down, set the label/token to field1, dynamically created based off a search (in my case it was a lookup)
3. delete the text input
4. select a value from the drop down (at this point the drop down should disappear)
it is working now
i guess it was really setting issue
thanks for your help
@sarit_s please add more details for the community to assist you better. If possible please add simple XML for the dropdown and also a screenshot of the issue you are facing. You should mask/anonymize any sensitive information before posting.
Hi
this is the xml :
<input type="dropdown" token="customer">
<label>Customer</label>
<default>*</default>
<choice value="*">ALL</choice>
<fieldForLabel>CUSTOMER_ACCOUNT_NAME</fieldForLabel>
<fieldForValue>CUSTOMER_ACCOUNT_NAME</fieldForValue>
<search>
<query>| inputlookup printer_attributes
| top CUSTOMER_ACCOUNT_NAME limit=0 showcount=0 showperc=0
| sort 0 CUSTOMER_ACCOUNT_NAME</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
</input>
link to screenshot
https://imgur.com/C9osWvR
Can you try changing the query to the following
| inputlookup printer_attributes
| stats count by CUSTOMER_ACCOUNT_NAME
How many CUSTOMER_ACCOUNT_NAME values are there?
In your screenshot the name of the Dropdown changes which is strange.
I tried the following with run no issues
<fieldset submitButton="false" autoRun="false">
<input type="dropdown" token="customer">
<label>Component</label>
<default>*</default>
<choice value="*">ALL</choice>
<fieldForLabel>component</fieldForLabel>
<fieldForValue>component</fieldForValue>
<search>
<query>index=_internal sourcetype=splunkd
| stats count by component
| fields - count</query>
<earliest>-1h@h</earliest>
<latest>now</latest>
</search>
</input>
</fieldset>
Somewhere you're unsetting it in other dashboard or js code.
That or it's your browser having compatibility issues.