corejavascript/typeahead.js

No results found option

Open

#60 建立於 2016年2月14日

在 GitHub 查看
 (1 留言) (3 反應) (0 負責人)JavaScript (956 star) (232 fork)batch import
enhancementhelp wanted

描述

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.

貢獻者指南