<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why is my dynamic dropdown getting stuck in a populating/loading display when entering a search? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277849#M17603</link>
    <description>&lt;P&gt;Yep, you're right, those two fields definitely should be matching! You should post that as the answer and accept since that solves your issue.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2016 00:57:22 GMT</pubDate>
    <dc:creator>lquinn</dc:creator>
    <dc:date>2016-11-01T00:57:22Z</dc:date>
    <item>
      <title>Why is my dynamic dropdown getting stuck in a populating/loading display when entering a search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277845#M17599</link>
      <description>&lt;P&gt;I am using a dynamic dropdown, with the below search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;basesearch&amp;gt; |dedup REGN|table REGN 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When i run this search i see the below results&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2074i1F04B7F08CAF37E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;But, when I use the above search in the dropdown, I see populating displayed for a while and then when I click the Dropdown, i see the below and the circle spins forever. What am I doing wrong here? Below is my Dropdown code&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2075i7F491A9A7F667B8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;input type="dropdown" token="Region" searchWhenChanged="true"&amp;gt;
      &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;&amp;lt;basesearch&amp;gt;| dedup REGN | table REGN&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;fieldForLabel&amp;gt;Region&amp;lt;/fieldForLabel&amp;gt;
  &amp;lt;fieldForValue&amp;gt;Region&amp;lt;/fieldForValue&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, can i use the Shared TimePicker for the dynamic dropdown query?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 21:59:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277845#M17599</guid>
      <dc:creator>vamshi245</dc:creator>
      <dc:date>2016-10-31T21:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dynamic dropdown getting stuck in a populating/loading display when entering a search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277846#M17600</link>
      <description>&lt;P&gt;I saw this same error fairly recently on a version of Splunk 6.3. I used the following search for my dropdown:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup mycsv.csv | table MyField
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I eventually found that the reason for the ever spinning circle was that I had some empty field values in my csv. I tried using fillnull in my search, so that there were no null fields, but I still encountered the same issue. Finally I manually edited the csv and replaced the blank field values with zeros and it worked.&lt;/P&gt;

&lt;P&gt;Any chance you have any blank field values in the data that you are searching?&lt;/P&gt;

&lt;P&gt;The way I found this was because there was a javascript error when I clicked on the dropdown. You probably have the same - if the above is not relevant to you, perhaps you could let us know the javascript error, assuming there is one? (Found by opening developer tools in your browser)&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 22:18:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277846#M17600</guid>
      <dc:creator>lquinn</dc:creator>
      <dc:date>2016-10-31T22:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dynamic dropdown getting stuck in a populating/loading display when entering a search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277847#M17601</link>
      <description>&lt;P&gt;Note: My error was fixed as of 6.5, didn't test on 6.4.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 22:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277847#M17601</guid>
      <dc:creator>lquinn</dc:creator>
      <dc:date>2016-10-31T22:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dynamic dropdown getting stuck in a populating/loading display when entering a search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277848#M17602</link>
      <description>&lt;P&gt;Thanks @lquinn - the issue was the values for below fields. I changed it to REGN, the table column name from the query and it worked.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fieldForLabel&amp;gt;Region&amp;lt;/fieldForLabel&amp;gt;
   &amp;lt;fieldForValue&amp;gt;Region&amp;lt;/fieldForValue&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Nov 2016 00:54:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277848#M17602</guid>
      <dc:creator>vamshi245</dc:creator>
      <dc:date>2016-11-01T00:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dynamic dropdown getting stuck in a populating/loading display when entering a search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277849#M17603</link>
      <description>&lt;P&gt;Yep, you're right, those two fields definitely should be matching! You should post that as the answer and accept since that solves your issue.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 00:57:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-my-dynamic-dropdown-getting-stuck-in-a-populating-loading/m-p/277849#M17603</guid>
      <dc:creator>lquinn</dc:creator>
      <dc:date>2016-11-01T00:57:22Z</dc:date>
    </item>
  </channel>
</rss>

