I am new to perspective and I'm trying to use a multi-select dropdown in a project.
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.
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.)
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.