How to trigger reselection of the same item


When selecting a value I can use this trigger

$('#myfield').on('select2:select', function(e) {

But this not cover the case if the user reselect the same item.
How would you trigger this ?

The scenario is everytime a user select a value even if this is the same item is reselectec it hide a div.

hi @lenamtl !

Did you solve the issue?
I’ve just opened a same thread: