Skip to content

Conversation

@neomindryan
Copy link

I assume this file is deprecated in favor of https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.autocomplete.js, but this version found its way into one of my projects, and I felt the need to share this fix (or be told why I'm mistaken). Thanks!

The comment at line 65 implies that setting minCharacters to 0 will result in no matches being displayed when there are no characters in the search box (e.g. if you've backspaced your search term). The code was treating 'undefined' and 0 identically.
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

Successfully merging this pull request may close these issues.

1 participant