This is an automated email from the ASF dual-hosted git repository. machristie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
commit 71a6e8ddbb9b7c2958d5a14530722b702f8f577f Author: Marcus Christie <machr...@iu.edu> AuthorDate: Wed Jul 11 17:01:04 2018 -0400 AIRAVATA-2835 Fixing some regressions in AutocompleteTextInput --- .../static/common/js/components/AutocompleteTextInput.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/django_airavata/static/common/js/components/AutocompleteTextInput.vue b/django_airavata/static/common/js/components/AutocompleteTextInput.vue index 30ef009..b44fcd4 100644 --- a/django_airavata/static/common/js/components/AutocompleteTextInput.vue +++ b/django_airavata/static/common/js/components/AutocompleteTextInput.vue @@ -6,9 +6,9 @@ </b-input-group-addon> <b-form-input type="text" :value="searchValue" placeholder="Type to get suggestions..." @input="updateSearchValue" - @keydown.enter = 'enter' - @keydown.down = 'down' - @keydown.up = 'up' + @keydown.native.enter = 'enter' + @keydown.native.down = 'down' + @keydown.native.up = 'up' ></b-form-input> </b-input-group> <b-list-group class="autocomplete-suggestion-list" v-if="open"> @@ -62,7 +62,7 @@ export default { this.searchValue = value; }, enter () { - this.emitSelectedItem(index); + this.emitSelectedItem(this.current); this.searchValue = ''; this.open = false },