I am utilizing a library called select2
specifically for single choice scenarios. My goal is to transfer the selected option to a different div once it has been chosen.
Here is the code I have so far:
https://jsfiddle.net/hxe7wr65/
Is there a way to achieve this? I don't want the selected result to display in the box, but rather be moved to another location while keeping the original box empty with the placeholder visible at all times.
The current design I'm working on looks like this:
https://i.sstatic.net/Em3PN.png
In the image above, only one option can be selected. Once selected, the result should appear elsewhere while the select box retains its placeholder text. Your assistance would be greatly appreciated. Thank you!