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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...