Hello, thanks so much for this great library.
I have a question!
On the https://select2.org/data-sources/ajax page it says:
For remote data sources only , Select2 does not create a new
<option>
element until the item has been selected for the first time. This is done for performance reasons. Once an<option>
has been created, it will remain in the DOM even if the selection is later changed.
Why is this? I thought it was a bug at first but then I see it is by design. If this is the case, how do I send the correct selected options to the server from the select element, if Iām using ajax
and multiple select and I need to remove a previously selected item?
Thank you very much for your time!