twitter/bootstrap — pull request #6741 by fsateler (2013-01-29 22:11:31+00:00)
Title: typeahead: do not store item data in an attribute

By using a data-value attribute, each item is forcefully
converted into a string. If the items are not simple values,
the resulting retrieval is useless at select time.

Storing it with the jQuery data function instead means the
object is stored without problems.