bootleaf icon indicating copy to clipboard operation
bootleaf copied to clipboard

search dropbox not displaying result content

Open Rafnuss opened this issue 8 years ago • 1 comments

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 avatar Jun 30 '16 10:06 Rafnuss

and also change the hovering (https://github.com/twitter/typeahead.js/issues/1195)

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

Rafnuss avatar Jun 30 '16 10:06 Rafnuss