Do not fail on input completion when source is an Array

Closes #13088
This commit is contained in:
Cédric Krier
2024-03-09 10:49:27 +01:00
parent 2837108682
commit 824e282b6f
+1 -1
View File
@@ -3780,7 +3780,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 {