Bug Tracker

Opened 14 years ago

Closed 13 years ago

#4714 closed bug (invalid)

[autocomplete] matching doesn't work when options.minChar is > 1

Reported by: damian.biollo Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:


This is a simple bug in the for loop:

load: function(q) {

... if (options.matchSubset) {

for (var i = q.length - 1; i >= options.minChars; i--) {

If you specify minChars of 3 or some other value greater than 1, then the autocomplete list never shows up.

The fix for this bug is to make the loop go to 1, rather than minChars:

for (var i = q.length - 1; i >= 1; i--)

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

This is not a jQuery core bug. Please use the jQuery forums or contact the author via the method they request. For jQuery UI plugins, please file a bug on http://dev.jqueryui.com .

Note: See TracTickets for help on using tickets.