Drag and drop in multiselect?

Hello everybody, I would like to ask if there is a way to use drag and drop in multiselect, specially in two cases:

case one:
I have 2 multiselect boxes, and sometimes I need to exchange options between them (they have the same defaults options):
imagen
If thereā€™s a new country I have visitedā€¦ could I drag from non visited to visited somehow?

case two:
If I need to change the order for an automation, and letā€™s say I need to make the reservation before the flight, hotel and restaurant, what I do now is to erase everything and select everything in the correct orderā€¦ is there a way to move ā€œreservationā€ to the first place by just draggin it?
imagen

Hey @mabusdogma,

Unfortunately, this functionality isnā€™t supported by st.multiselect, but @ohtaman created an awesome component that allows you to reorder multiselect elements:

2 Likes

Wow! Itā€™s pretty much what I neededā€¦ thanks!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.