Bug Tracker

Modify

Ticket #6530 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

[autocomplete] Error when binding search()

Reported by: Hoggemannen Owned by:
Priority: Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: search, toLowerCase Cc:
Blocking: Blocked by:

Description

I found one error on line 180 (.bind('search'...)

if( data[i].result.toLowerCase() == q.toLowerCase() ) {}

gives an error because "result" is an array so toLoweCase() cannot be used.

A simple result[0] works, i guess there might be more than one item in result. Anyway, this is a bug.

Change History

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

This is the jQuery core bug tracker. Please report plugin bugs to the appropriate author.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.