diff --git a/bootstrap3-typeahead.js b/bootstrap3-typeahead.js index 1eb1a9f..982ee28 100644 --- a/bootstrap3-typeahead.js +++ b/bootstrap3-typeahead.js @@ -398,7 +398,7 @@ prev.addClass('active'); // added for screen reader - var newVal = this.updater(next.data('value')); + var newVal = this.updater(prev.data('value')); this.$element.val(this.displayText(newVal) || newVal); },