Simply put I’d like to perform an operation when I click the x button in a multi-select input. I’ve tried the following but get no response:
<input type="hidden" id="product" />
$('#product').on("select2:unselect", function() {
// do something
});