Angular: Fixes minor mistake in previous bsTypeahead PR (#50411)
This commit is contained in:
1 parent
74608d6480
commit
3866debae9
1 file changed
+2
-2
@@ -35,8 +35,8 @@ coreModule.directive('bsTypeahead', [
|
||||
return value;
|
||||
},
|
||||
});
|
||||
var typeahead = element.dat('typeahead');
|
||||
typeahead.lookup = function (ev: any) {
|
||||
var typeahead = element.data('typeahead');
|
||||
typeahead.lookup = function () {
|
||||
var items;
|
||||
this.query = this.$element.val() || '';
|
||||
if (this.query.length < this.options.minLength) {
|
||||
|
||||
Reference in new issue
Block a user