I have seen many topics about select2 trigger but I can't find a solution to my case. I want my select2 filter to load some data immediately when a user click on it.
Is that possible ? I tried to do it, it only works when a another option is selected, not at the moment when the select is clicked.
Thanks !
For example, this works for change trigger :
$('#id_station').on('select2:select', function (e) {
alert();
});