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

search dropbox not displaying result content #42

Open
Rafnuss opened this issue Jun 30, 2016 · 1 comment
Open

search dropbox not displaying result content #42

Rafnuss opened this issue Jun 30, 2016 · 1 comment

Comments

@Rafnuss
Copy link

Rafnuss commented Jun 30, 2016

Hello,
I'm quite new to everything and don't know if I'm doing that right. But I add the issue where taking the code as it is with the latest version of typeahead (11.1), the content of search was not displaying:

I had to change:
suggestion: Handlebars.compile(["{{name}}<br>&nbsp;<small>{{address}}</small>"].join(""))
to
suggestion: Handlebars.compile('<div>{{name}}<br>&nbsp;<small>{{address}}</small></div>')

It might be trivial for some, not for me... I guess it has to do with the new version.
Just thought some people might be interested...
sorry if this this is not the way of suggesting modification

And a big thanks for writing this really cool plugin!

@Rafnuss
Copy link
Author

Rafnuss commented Jun 30, 2016

and also change the hovering (twitter/typeahead.js#1195)

.tt-suggestion.tt-cursor, .tt-suggestion:hover {
  background-color: #0097CF;
  color: #FFFFFF;
  cursor: pointer;
}

johnniehard pushed a commit to johnniehard/bootleaf that referenced this issue May 22, 2017
add .sass-cache, .jekyll-metadata and Gemfile.lock
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

No branches or pull requests

1 participant