Hi. I’d like to know if there is a way to retrieve the select2 options (all, not just selected) when “open” event is triggered, please?
I am trying to avoid calling ajax call programatically as I know it is called when select is opened, right?
I was looking in the https://select2.org/programmatic-control/events, but couldn’t find anything useful. Can anyone help, please?