It works fine when I pick an option. But if I search first on a normal input field, then it doesn’t work. Nothing is sent via AJAX, but if I change to another options it starts working again. So it fails only after searching on a normal field.
Any ideas on how to solve it? I’ve been looking around but I didn’t find anything.
I think its a browser specific problem. There’s a github issue related to it by the way:
Basically the problem is when you hit ENTER for a textbox search, a "keydown" event is triggered and also sets the variable eventType to "keydown". Selecting a dropdown filter value afterwards would trigger a "change" event, but because eventType is set to "keydown", the function stops processing there. The reason it works the second time is because it empties out the eventType variable before it stops.