Multi-Selection Dropdown Array Value used for Tooltip

Hi there!

I am new to perspective and I'm trying to use a multi-select dropdown in a project.
image

Where I struggle now is to be able to see all selected options in another part of the screen (on top of the dropdown component) and be able to remove it from there. So basically, showing that same bubble with the "x".

I'm also trying to show the selected options in the tooltip by binding the tooltip text to the dropdown value. Unfortunately, tooltip text does not accept array which is what the dropdown value gives. I'm thinking of converting the array to a one-linear string value but I'm not sure how to do this.

There's no need for either. Just set,
wrapMultiSelectValues : true.

Multselect dropdown

The dropdown will expand to show the selected options and you can delete them from there. (You may have to use flex containers to allow the dropdown expansion.)

Welcome to the forum.

Thank you Transistor!

I apologize, I forgot to mention. We want the size of dropdown to be fixed (32), and so the wrapMultiSelectValues will need to be false.

I tried to illustrate the shortcomings of the current implementation, but got nowhere:

Assuming your options values and labels are different, there's some work involved to get the labels back from the values, which also depends on whether your options are in json or dataset format.

Tell us more about your setup so we can help you more accurately.