This is how the jQuery library script files are connected:
<head> .... <title></title> <script src="/js/jquery-3.2.1.js"></script> <script src="/js/jquery-ui.js"></script> <script src="/js/select2.full.js"></script> .... when creating a select2 object (converting from the normal select to select2) I get an error in the console
TypeError: $ (...). Select2 is not a function
you remove the string
<script src="/js/jquery-ui.js"></script> and the error disappears. But UI widgets stop working (tabs, etc ..)
And you need everything to work and UI and Select2
I can not understand where the cause of this conflict
PS lines:
<script src="/js/jquery-ui.js"></script> <script src="/js/select2.full.js"></script> changed places and did not help