Dashboards & Visualizations

How to convert multi select to drop down

aditsss
Motivator

Hi Team,

I have one requirement

Below is my code for multiselect:

<input type="multiselect" token="Teams" searchWhenChanged="true">
<label>Teams</label>
<choice value="true()">All</choice>
<choice value="like(parent_chain, &quot;%BLAZE%&quot;)">BLAZE</choice>
<choice value="like(parent_chain, &quot;%Oneforce%&quot;)">Oneforce</choice>
<choice value="like(parent_chain, &quot;%MerchantForce%&quot;)">MerchantForce</choice>
<choice value="like(parent_chain, &quot;%MDT%&quot;)">MDT</choice>
<choice value="like(parent_chain, &quot;%ConsumerForce%&quot;)">ConsumerForce</choice>
<choice value="like(parent_chain, &quot;%MK-AUTO%&quot;)">MK-AUTO</choice>
<choice value="like(parent_chain, &quot;%MarketingForce%&quot;)">MarketingForce</choice>
<choice value="like(parent_chain, &quot;%PremiumProductPlatform%&quot;)">PremiumProductPlatform</choice>
<fieldForLabel>Teams</fieldForLabel>
<prefix>(</prefix>
<delimiter> OR </delimiter>
<suffix>)</suffix>
<initialValue>All</initialValue>
<default>All</default>
</input>

I want to convert it in dropdown. How can I do that.

Labels (3)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Change the type from multiselect to dropdown and get rid of prefix, delimiter and suffix

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Change the type from multiselect to dropdown and get rid of prefix, delimiter and suffix

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...