I have a select2 input that I\'m using and on \'change\' I\'m grabbing the values and performing an action. I\'m trying to clear that select2 without triggering a change eve
You can use the following with Select2 4.x
$docInput.val(null).trigger('change.select2');
I believe all you need is:
$docInput.select2('data', null, false);