Dashboards & Visualizations

In a drop-down, how do I expand a multiselect input to display more characters?

pwilly
Explorer

I have a problem where on a multiselect drop-down, I am not able to see the entire value of the choices. I have read some information about changing CSS files and converting to HTML but guess I am not able to grasp what needs to be done. Does anyone know of a step by step instruction on how to increase the number of characters displayed in a multiselect input?

0 Karma
1 Solution

somesoni2
Revered Legend

Give this a try (the id field on the multiselect should match the #<heading> in html)

<form onUnloadCancelJobs="true" >
  <label>...
  <description>...  
  <fieldset autoRun="true" submitButton="true">
    <html>
      <style type="text/css">
#input_unit {
  width: 440px;
}
      </style>
    </html>

    <input type="multiselect" token="yourtoken" searchWhenChanged="false" id="input_unit">
      <choice value="*">All</choice>
      ......
      ......
    </input>
  </fieldset>
  ...

View solution in original post

somesoni2
Revered Legend

Give this a try (the id field on the multiselect should match the #<heading> in html)

<form onUnloadCancelJobs="true" >
  <label>...
  <description>...  
  <fieldset autoRun="true" submitButton="true">
    <html>
      <style type="text/css">
#input_unit {
  width: 440px;
}
      </style>
    </html>

    <input type="multiselect" token="yourtoken" searchWhenChanged="false" id="input_unit">
      <choice value="*">All</choice>
      ......
      ......
    </input>
  </fieldset>
  ...

pwilly
Explorer

somesoni2 you are the man, that worked like a dream thank you for the example, that really simplified things.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...