この拡張機能ですべてのデータをフォーカスして表示するにはどうすればよいですか?. minChars をに変更しようとしました0
が、入力がダブルクリックされたときにのみ表示されます。
$("#month").autocomplete(months, {
minChars: 0,
max: 12,
autoFill: true,
mustMatch: true,
matchContains: false,
scrollHeight: 220,
formatItem: function(data, i, total) {
// don't show the current month in the list of values (for whatever reason)
if ( data[0] == months[new Date().getMonth()] )
return false;
return data[0];
}
});