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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...