Do not fail on input completion when source is an Array
Closes #13088 (grafted from 0d99c0394ebc50547cd18570833e68d908791300) --HG-- branch : 7.0
This commit is contained in:
1 parent
d48435fdc9
commit
c9852506b0
1 file changed
+1
-1
+1
-1
@@ -3802,7 +3802,7 @@
|
||||
}
|
||||
var prm;
|
||||
if (this.source instanceof Array) {
|
||||
prm = jQuery.when(source.filter(function(value) {
|
||||
prm = jQuery.when(this.source.filter(function(value) {
|
||||
return value.toLowerCase().startsWith(text.toLowerCase());
|
||||
}));
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user