<?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: Empty string token causing multiselect box visual bug in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Empty-string-token-causing-multiselect-box-visual-bug/m-p/368325#M24058</link>
    <description>&lt;P&gt;I'd suggest using something other than an empty string, maybe giving it a label saying "None" in the Input and a value that does nothing in the search. A value that does nothing in the search could be a &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Search/Addcommentstosearches"&gt;comment makro&lt;/A&gt; saying "Empty Input Selection". This would not only solve the issue of your unnecessarily large multiselect, it would also be more transparent to both users of the dashboard and someone looking at the search.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2018 10:03:51 GMT</pubDate>
    <dc:creator>jeffland</dc:creator>
    <dc:date>2018-02-16T10:03:51Z</dc:date>
    <item>
      <title>Empty string token causing multiselect box visual bug</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Empty-string-token-causing-multiselect-box-visual-bug/m-p/368324#M24057</link>
      <description>&lt;P&gt;I am using multiselect boxes to select which search results i want to exclude and include, and when the boxes are cleared, i have some javascript running that sets the tokens to empty strings so that the search can still run without waiting for the tokens to be set again.&lt;BR /&gt;
However when the tokens are set to empty string by the javascript the multiselect box suddenly becoms twice as big without anything in it.&lt;BR /&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/4352iDD0C166FA25C0AEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
Hopefully this picture shows the problem, the empty x i can somewhat live with, but the box suddenly doubling in size is what i would like to avoid since it seems like a bug.&lt;BR /&gt;
Here is the javascript i use to set to token to "" (empty string)&lt;BR /&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/4353i7090680FAC6ABD1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
Mostly i just wanna avoid the Multiselect Box doubling in size, but alternate solutions to defaulting the tokens to empty values and still allowing the searches to run are also welcome.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 13:33:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Empty-string-token-causing-multiselect-box-visual-bug/m-p/368324#M24057</guid>
      <dc:creator>Rolthers</dc:creator>
      <dc:date>2018-02-07T13:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Empty string token causing multiselect box visual bug</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Empty-string-token-causing-multiselect-box-visual-bug/m-p/368325#M24058</link>
      <description>&lt;P&gt;I'd suggest using something other than an empty string, maybe giving it a label saying "None" in the Input and a value that does nothing in the search. A value that does nothing in the search could be a &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Search/Addcommentstosearches"&gt;comment makro&lt;/A&gt; saying "Empty Input Selection". This would not only solve the issue of your unnecessarily large multiselect, it would also be more transparent to both users of the dashboard and someone looking at the search.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 10:03:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Empty-string-token-causing-multiselect-box-visual-bug/m-p/368325#M24058</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2018-02-16T10:03:51Z</dc:date>
    </item>
  </channel>
</rss>

