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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...