issa-tseng / awesomecomplete

A lightweight autocomplete plugin for jQuery. Autocomplete that doesn't suck — I think.
http://dontexplain.com/2009/08/jquery-plugin-lautocomplete/
52 stars 7 forks source link

defaultRenderFunction parameters don't match those passed from processData #8

Closed adamjudd closed 12 years ago

adamjudd commented 12 years ago

processData passes four parameters, where as defaultRenderFunction only accepts 3 - it's missing the originalDataItem parameter. It also uses the hard-coded nameField 'name' so that should be switched out to use the config value.

issa-tseng commented 12 years ago

Right you are. Thanks!