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!

.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 ...