You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found a weird issue with "getActive" call when it always returns the 1st match. I added this call according to the documentation, to the "change" event. Problem is that for me change happened earlier than "active" value update here:
I've found a weird issue with "getActive" call when it always returns the 1st match. I added this call according to the documentation, to the "change" event. Problem is that for me change happened earlier than "active" value update here:
this.$element.data('active', val);
I solved this by triggering a custom event:
afterSelect: function(data) { $("input[name='search']").trigger("selected"); },
And then checking it the usual way:
$("input[name='search']").on("selected", function() {
The text was updated successfully, but these errors were encountered: