jquery-editable-select icon indicating copy to clipboard operation
jquery-editable-select copied to clipboard

event select.editable-select run twice when use jquery().on()

Open kamnab opened this issue 9 years ago • 2 comments

$('#container').on('select.editable-select', '.editable-select', function (e, li) { // occur twice }

kamnab avatar Jan 21 '17 12:01 kamnab

Hi @kamnab, could you please provide a full working sample for this?

indrimuska avatar May 07 '17 11:05 indrimuska

var test = $("#test")

test.editableSelect();

test.on('select.editable-select', function (e) {
  console.log('a')
});

that code fires 2 events...

I found workaround for people who use it: use only 'select' not 'select.editable-select' and it fires exactly 1 event

pumano avatar Mar 16 '20 15:03 pumano