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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...