twitter/bootstrap — pull request #4789 by jobsantiago (2012-08-28 18:59:03+00:00)
Title: Typeahead. Added the ability to process serializable Objects as items from given source (According to guidelines )

I previously opened this pull request, but as didn't follow the proper guidelines didn't go through. I made corresponding adjustments such as making it against a -wip branch, and added unit test.

Original comment:

I needed to handle data related to the text of typeahead result items, some type of single or multiple key => value approach. So I added functionality to achieve that. This way hidden id's or other data can be retrieved once a item is selected. I believe this is a very common desired feature. Thanks for this excellent set of components!