diff --git a/src/typeahead/typeahead.js b/src/typeahead/typeahead.js index 71b807c817..87fe572474 100644 --- a/src/typeahead/typeahead.js +++ b/src/typeahead/typeahead.js @@ -423,7 +423,11 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.debounce', 'ui.bootstrap scope.select(scope.activeIdx, evt); }, angular.isNumber(scope.debounceUpdate) ? scope.debounceUpdate : scope.debounceUpdate['default']); } else { - scope.select(scope.activeIdx, evt); + if(scope.matches.length === 1){ + scope.select(scope.activeIdx, evt); + }else{ + scope.select(scope.activeIdx - 1 , evt); + } } }); }