Skip to content

search dropbox not displaying result content #42

@Rafnuss

Description

@Rafnuss

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions