The autocomplete made by jquery seems to have a very small issue, yet disturbing,
I’ve implemented it to many input fields over time, yet I always find the following annoying:
If you search for a term on it, say “book”, then it opens well showing up book rendered in the li, alright, but now if you quickly make control + a to select all, then control + x to cut, then control + v to paste, you’ll notice what happens, the autocomplete just does not open.
It seems it does not search if the term entered is the same, that’s an ok mechanism in terms of pressing other keys that are different to the term, just like the ctrl key or if you were to blur off the autocomplete and the focus once again, you also don’t necessarily need for it to search, but if you erase the characters (term) and then retype the exact same characters, mostly I’ve tried by performing the ctrl + a, ctrl + x, ctrl + v keys combination, then the autocomplete remains closed.
Which seems a bit awkward, I wondered what to change to make it “open” if the search term is still the same that from what was last searched.
Thanks to anyone who has a solution for this.
you can use