Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data results #79

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Data results #79

wants to merge 8 commits into from

Conversation

lienbcn
Copy link

@lienbcn lienbcn commented Feb 22, 2015

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
Copy link

kebin commented Apr 10, 2015

+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