corejavascript/typeahead.js

No results found option

Open

#60 aberto em 14 de fev. de 2016

Ver no GitHub
 (1 comment) (3 reactions) (0 assignees)JavaScript (232 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (956 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

https://github.com/twitter/typeahead.js/issues/780

I know that I can specify an empty template for each dataset, but I have 6 or 7 datasets and I would like to specify something to be displayed when none of the datasets have hits.

If I just type in "4q8nywrfxm", I don't want to see 6 datasets all saying that they can't find that text, I just want one message, specified at the typeahead level (not the dataset level).

Does that make sense?

I copied this over from the old repo which I was using until I realized it's no longer maintained. Sorry if this is a dup or if it was already fixed but I couldn't find that it was.

Guia do colaborador