corejavascript/typeahead.js

No results found option

Open

#60 ouverte le 14 févr. 2016

Voir sur GitHub
 (1 commentaire) (3 réactions) (0 assignés)JavaScript (232 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (956 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur