Skip to content

Commit

Permalink
Fix autocomplete first option bug on enter key event (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luís Nunes authored Dec 18, 2019
1 parent fe3fa5a commit 84145ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions addon/components/uni-autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ export default Component.extend({
},

_handleKeyEnter() {
this.selectOption(this.get('optionsFiltered').objectAt(this.get('highlighted')));

this.element.querySelector('input').blur();
},

Expand Down

0 comments on commit 84145ad

Please sign in to comment.