Dashboards & Visualizations

dashboard dropdown disappears after selection

sarit_s
Communicator

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

0 Karma
1 Solution

sarit_s
Communicator

it is working now
i guess it was really setting issue

thanks for your help

View solution in original post

0 Karma

LAntoniak
Explorer

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)

0 Karma

sarit_s
Communicator

it is working now
i guess it was really setting issue

thanks for your help

0 Karma

niketn
Legend

@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.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

sarit_s
Communicator

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

0 Karma

niketn
Legend

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>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

jkat54
SplunkTrust
SplunkTrust

Somewhere you're unsetting it in other dashboard or js code.

That or it's your browser having compatibility issues.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...