ajax indicator keeps on spinning even user has deleted value from textbox
Hi, I am using to show ajax spinning indicator in text box as below
onSearchStart : function(){ $(this).addClass('working') }, onSearchComplete : function(){ $(this).removeClass('working') }, onSearchError: function(){ $(this).removeClass('working'); }
This works fine when user start typing. But suppose if user use backspace and delete all characters from autocomplete box then spinner should not be shown and in this case spinner is showing up in any condition.
However i removed class using onblur on autocomplete box. But can it be accomplished thriugh autocomplete call.
Theoretically for every onSearchStart there should be one onSearchComplete or onSearchError call. Will try to reproduce it.
Thanks for the report, and apologies for the very long silence.
The project was dormant for several years and has just shipped v2.0, a ground-up TypeScript rewrite with a new build (esbuild), test runner (Vitest + jsdom), and CI pipeline. I'm closing this issue as part of a triage pass on the long-stale backlog — not because the underlying concern lacks merit, but because the surrounding code has changed enough that the original report may no longer apply or may need a fresh repro.
If this is still relevant against current master, please open a new issue with a minimal reproduction. I'll review fresh reports against the 2.0 codebase promptly.
Thanks again for taking the time.