Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backspace query string under _MinChars fires request #75

Open
mattbt opened this issue Jun 14, 2019 · 0 comments
Open

Backspace query string under _MinChars fires request #75

mattbt opened this issue Jun 14, 2019 · 0 comments

Comments

@mattbt
Copy link

mattbt commented Jun 14, 2019

Hi,
I experienced some problems when using backspace button.
If I search for a string, e.g. "abcd", wait for request to be done, then delete some letters ending with a string with length < _MinChars

e.g.
_MinChars = 2
search text = "abcd" -> "abc" -> "ab" -> "a"

the request gets sent with query parametes ="a" (which shouldn't, since its lenght is 1) and results gets cached under "ab".
Anyone else experiencing this behaviour?
Maybe timeout should be cleared when query string goes under _MinChar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant