mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-12-23 03:18:55 +00:00
When input receives focus trigger onValueChange only if minChars equals 0
This commit is contained in:
parent
484c4c82fb
commit
94600795e7
@ -209,7 +209,7 @@
|
||||
onFocus: function () {
|
||||
var that = this;
|
||||
that.fixPosition();
|
||||
if (that.options.minChars <= that.el.val().length) {
|
||||
if (that.options.minChars === 0 && that.el.val().length === 0) {
|
||||
that.onValueChange();
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user