Skip to content

Data results#79

Open
lienbcn wants to merge 8 commits into
JustGoscha:masterfrom
lienbcn:data-results
Open

Data results#79
lienbcn wants to merge 8 commits into
JustGoscha:masterfrom
lienbcn:data-results

Conversation

@lienbcn

@lienbcn lienbcn commented Feb 22, 2015

Copy link
Copy Markdown

This pull requests adds the following features:

  • Possibility to use an array of objects for suggestions instead of an array of strings in order to allow the user to store related data to the suggestion text and retrieve it directly from the select listener. It could allow for example to get the ISBN of a book, showing only the title of the book in the list, without worrying about the fact that it is possible to have different books with the same title.
  • Enhance the filtering and highlighting functionality to allow searching using multiple words even if they don't match with the same order in the suggestion text. In that case it would create multiple span tags inside the li element of the list to highlight different parts of the text.

I'd appreciate any suggestion to enhance the code or any better approach to achieve this functionalities.

@kebin

kebin commented Apr 10, 2015

Copy link
Copy Markdown

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants