【发布时间】:2018-09-16 11:36:59
【问题描述】:
我将 minLength 设置为 3 以在至少输入 3 个字符时触发建议列表。
但是当输入 1 个字符时下拉菜单打开。如何使这个工作?
$('#remote .typeahead').typeahead(null, {
name: 'best-pictures',
display: 'value',
source: bestPictures,
minLength: 3
});
【问题讨论】:
标签: javascript typeahead.js bloodhound