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

improvement - allow partial head and footer for suggestions #258

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dreamerworks
Copy link

Previously the header and footer for suggestions had to be full html elements.
Example:
head=<div>The Head</div> and footer=<div>The footer</div>.

If we wanted to have:
header=<ul>
footer=</ul>
and have the suggestions to be <li>'s, the typeahead would generate wrong html.

This change makes it so that it works in both scenarios.

previously the header and footer for suggestions had to be full html elements. 
Example:    head=<div>The Head</div> and footer=<div>The footer</div>. 
If we wanted to have:
header=<ul>
footer=</ul>
and have the suggestions to be <li>'s, the typeahead wouldn't work. 
This change makes it so that it works in both scenarios.
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.

1 participant