Fixed highlighter bug. #8

wants to merge 3 commits into


None yet
2 participants

Highlighter used to get only text field of original JSON object, but still checked for displayField in item (which is string).
Fixed by passing whole JSON object to highlighter.

andergmartins and others added some commits May 30, 2012

@andergmartins andergmartins Improve how it use the ajax results and on selecting a item
Add options to use json into ajax results, choosing the label and value
field names.
Add the option to use a callback function on select an item, passing
the complete json item to callback.
@andergmartins andergmartins Update readme file
Update readme file
@ssharunas ssharunas Update typeahead.js
Highlighter should original JSON item and highlight displayField value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment