<?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 How to set width of input multiselect? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-width-of-input-multiselect/m-p/642162#M52453</link>
    <description>&lt;P&gt;I'm looking to change the width of the multiselect input box. &amp;nbsp;It's currently dynamically updated, and the lengths of the input varies. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible to change the width dynamically (if not static)? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaryZ_0-1683221592148.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25233iBE049E9B8EFEB6C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaryZ_0-1683221592148.png" alt="GaryZ_0-1683221592148.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 17:33:36 GMT</pubDate>
    <dc:creator>GaryZ</dc:creator>
    <dc:date>2023-05-04T17:33:36Z</dc:date>
    <item>
      <title>How to set width of input multiselect?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-width-of-input-multiselect/m-p/642162#M52453</link>
      <description>&lt;P&gt;I'm looking to change the width of the multiselect input box. &amp;nbsp;It's currently dynamically updated, and the lengths of the input varies. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible to change the width dynamically (if not static)? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaryZ_0-1683221592148.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25233iBE049E9B8EFEB6C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaryZ_0-1683221592148.png" alt="GaryZ_0-1683221592148.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 17:33:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-width-of-input-multiselect/m-p/642162#M52453</guid>
      <dc:creator>GaryZ</dc:creator>
      <dc:date>2023-05-04T17:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to set width of input multiselect?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-width-of-input-multiselect/m-p/642480#M52470</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You'll need to manipulate the style of the fieldset and input div tags. This example is just a starting point. It impacts the display of the dashboard when editing and may break accessibility:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form version="1.1" theme="dark"&amp;gt;
  &amp;lt;label&amp;gt;Multiselect Width&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;html&amp;gt;
      &amp;lt;style&amp;gt;
        .fieldset {
          display: table;
        }
        #fixed_width_multiselect {
          display: table-cell !important;
          width: 500px !important;
        }
        #fixed_width_multiselect div[role="listbox"] {
          display: table-cell !important;
          width: 480px !important;
        }
        #dynamic_multiselect {
          display: table-cell !important;
          white-space: nowrap !important;
        }
        #dynamic_multiselect div[role="listbox"] {
          display: table-cell !important;
        }
      &amp;lt;/style&amp;gt;
    &amp;lt;/html&amp;gt;
    &amp;lt;input id="fixed_width_multiselect" type="multiselect" token="fixed_width_multiselect_tok"&amp;gt;
      &amp;lt;label&amp;gt;Fixed-Width Multiselect&amp;lt;/label&amp;gt;
      &amp;lt;!-- ... --&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input id="dynamic_multiselect" type="multiselect" token="dynamic_multiselect_tok"&amp;gt;
      &amp;lt;label&amp;gt;Dynamic Multiselect&amp;lt;/label&amp;gt;
      &amp;lt;!-- ... --&amp;gt;
    &amp;lt;/input&amp;gt;    
  &amp;lt;/fieldset&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Note that your Splunk administrator may disable the &amp;lt;html&amp;gt; tag in dashboards, in which case you'll need their assistance adding a CSS file to the app and referencing it with the stylesheet attribute of the &amp;lt;form&amp;gt; tag.&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 19:31:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-width-of-input-multiselect/m-p/642480#M52470</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2023-05-06T19:31:13Z</dc:date>
    </item>
  </channel>
</rss>

