Skip to main content

Search and Top Navigation

#9025 closed bug (duplicate)

Opened January 28, 2013 06:11PM UTC

Closed January 28, 2013 06:58PM UTC

Last modified January 28, 2013 07:28PM UTC

Autocomplete custom data bug

Reported by: dkynaston@financelogix.com Owned by:
Priority: minor Milestone: none
Component: ui.autocomplete Version: 1.10.0
Keywords: Cc:
Blocked by: Blocking:
Description

get this error in our code and even on the demos page when trying to set custom data like:

.data( "autocomplete" )._renderItem = function( ul, item ) {

return $( "<li>" )

.append( "<a>" + item.label + "<br>" + item.desc + "</a>" )

.appendTo( ul );

};

Uncaught TypeError: Cannot set property '_renderItem' of undefined in cutom-data.html line 66.

Attachments (0)
Change History (3)

Changed January 28, 2013 06:58PM UTC by scottgonzalez comment:1

resolution: → duplicate
status: newclosed

Duplicate of #8992.

Changed January 28, 2013 07:18PM UTC by dkynaston@financelogix.com comment:2

I get this is a duplicate issue of #8992, but this is no resolution. It was closed as "notabug" but the bug still exist on your own demo: http://jqueryui.com/autocomplete/#custom-data. What are we supposed to do here?

Changed January 28, 2013 07:28PM UTC by scottgonzalez comment:3

It'll be fixed with in about a week when the next release comes out.