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