First of all, thanks a lot for amazing plugin! I have Datatable with server-side processing. When I choose one option from dropdown, I got 2 selected options: one I choose, and another empty. I mean I got this:
<ul class="select2-selection__rendered">
<li class="select2-selection__choice" title=""></li>
<li class="select2-selection__choice" title="option1"></li>
<li class="select2-search select2-search--inline"></li>
</ul>
It makes wrong SQL query (in LIKE operator I got something like '|option1'). I can get correct query with php script, but it won't remove empty selected option from header of my table.
Would be appreciated for any help.