Dashboards & Visualizations

How to convert multi select to drop down

aditsss
Builder

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
Legend

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

View solution in original post

ITWhisperer
Legend

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

View solution in original post

.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!