mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-09 14:50:57 +00:00
Triggers autocomplete lookup if value is greater than minChars.
This commit is contained in:
parent
dfbca90052
commit
fef68b6e4c
@ -208,8 +208,10 @@
|
||||
|
||||
onFocus: function () {
|
||||
var that = this;
|
||||
|
||||
that.fixPosition();
|
||||
if (that.options.minChars === 0 && that.el.val().length === 0) {
|
||||
|
||||
if (that.el.val().length >= that.options.minChars) {
|
||||
that.onValueChange();
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user