<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/select2.min.js"></script>
<script>
$(document).ready(function () {
$('.js-data-example-ajax').select2({
ajax: {
url: 'https://api.github.com/search/repositories',
dataType: 'json'
}
});
});
</script>```
always I get "No results found".
MVC asp.net core project.
![image_2022-11-09_140441090|690x388](upload://jlDf5bivK1ppVf2l5sUUBeaCug2.png)
Thank you