jQuery-Autocomplete icon indicating copy to clipboard operation
jQuery-Autocomplete copied to clipboard

onSelect event param?

Open sefaYavuz opened this issue 5 years ago • 1 comments

I need to get the event in the onSelect method. So I can determine the clicked target element.

Something like this:

input.autocomplete({
    onSelect: function (suggestion, event) {
        console.log(event.target);
    }
});

Is the above in any way possible?

sefaYavuz avatar May 08 '19 11:05 sefaYavuz

Currently this is not available. Would need to modify source in order to access the event object.

tkirda avatar May 15 '19 17:05 tkirda