corejavascript/typeahead.js

No results found option

Open

#60 aperta il 14 feb 2016

Vedi su GitHub
 (1 commento) (3 reazioni) (0 assegnatari)JavaScript (232 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (956 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor