mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2025-01-09 17:13: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 () {
|
onFocus: function () {
|
||||||
var that = this;
|
var that = this;
|
||||||
|
|
||||||
that.fixPosition();
|
that.fixPosition();
|
||||||
if (that.options.minChars === 0 && that.el.val().length === 0) {
|
|
||||||
|
if (that.el.val().length >= that.options.minChars) {
|
||||||
that.onValueChange();
|
that.onValueChange();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user