How to configure a ComboBox for multi-selection like a tag/token list?

0
Hi everyone,I am trying to implement a multi-selection dropdown in Mendix that looks and behaves like a tag/token list, similar to what is shown in the image below:https://forum.radzen.com/uploads/default/original/2X/5/5fe3210aa0eca31bb1137cd7ee898eb5bcec308c.gifAs you can see, when the user selects multiple options (e.g., "Hearts", "Spades"), they appear as removable tags inside the input field, and the remaining options (like "Diamonds") stay available in the dropdown list.I would like to know:Is it possible to achieve this look and feel using the standard Combo Box widget in Mendix (Studio Pro 10+)? If so, what is the correct configuration for the attributes and references?If the default Combo Box doesn't support this natively, is there a recommended Marketplace widget (like the Multi-Select Marketplace Widget) or a specific microflow/association setup that I should use to get this exact behavior?Any guidance or step-by-step examples would be greatly appreciated!Thanks in advance!
asked
2 answers
1

William,

You can achieve this look with a standard Combo Box widget.


In the Multiple Selection properties of the Combo Box, Selection Method Row Click will display the selected values as labels:


Also, if you choose Selection Method of Checkbox and Show Selected Items as Labels, you will see the same display:


Hope that helps,

Mike

answered
0

Hi William,


No, the standard Mendix Combo Box cannot natively display selected values as removable tags/tokens inside the input field like the Radzen example.


It Supports Single select, Multi-select (when configured with a reference set) and Searching/filtering


It does not render selections as chips/tags with an "X" button inside the control.


My suggestion can you check with

  1. https://marketplace.mendix.com/link/component/210904
  2. https://marketplace.mendix.com/link/component/257452


I Hope it helps you.

answered