Bug Tracker

Opened 10 years ago

Closed 10 years ago

#4925 closed bug (invalid)

[autocomplete] - bug in "currentValue"

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

Description (last modified by dmethvin)

in function onChange() the currentValue can be "undefined"

So: fix the 'if' statment to: if (currentValue && currentValue.length >= options.minChars) {

Example: minChars = 3 for me. So, type in 3 spaces and wait the delay period ... and boom: currentValue undefined, so currentValue.length fails

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Description: modified (diff)
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.