Solution:
As on the example https://select2.github.io/examples.html#data-ajax, you need to return the results in processResults function.
Solution:
As on the example https://select2.github.io/examples.html#data-ajax, you need to return the results in processResults function.