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!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...