Use FileSelector with plain strings instead of files/paths

I have a very long list of names (range might in the hundreds) and the users must be able to select a handful of these. The obvious choice is to use a MultiSelect widget, but since the potential choices are that many I would prefer to have a UI similar to FileSelector. In other words I would like the user to be able to easily verify the choices he made, by explicitly moving the choices he made to the right column of the widget, before moving on with processing them.

The problem is that FileSelector only works with files… Is there some easy way to make it work with a plain list of strings?

Hi @pmav99 and welcome! :slight_smile:

How about using a CrossSelector (Crossselector — Panel 0.12.4 documentation)?

Oh! I completely missed that in the docs… Thank you @maximlt