multi select dropdown (max 2 values can be selected)

Hi Team,

I want to use multi select dropdown (max 2 values can be selected ) In reactive web app.

Is this possible using dropdown tag.

Please suggest


Champion
Solution

Hi ujwala

Just pass the 

"{""maxItemCount"": 2}"

In AdvanceFormat property of Dropdown tags. 


Cheers. 

mvp_badge
MVP

Hi Ujwala,

yes this is possible. when you use onChanged event of dropdown tag there is on input paramater like CurrentValue you need to check length of this list and add validation accordingly .


Hope this will help you.

Regards

Rahul

Champion
Solution

Hi ujwala

Just pass the 

"{""maxItemCount"": 2}"

In AdvanceFormat property of Dropdown tags. 


Cheers. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.