Merge branch 'fix-tt-autocomplete' into 'master'
fixed touch input See merge request fronk/thetool!893
This commit is contained in:
@@ -49,7 +49,7 @@ Vue.component('tt-autocomplete', {
|
||||
:class="{'active': value === item.value}"
|
||||
class="dropdown-item"
|
||||
@click.prevent="selectSuggestion(item)"
|
||||
@touchstart.prevent="selectSuggestion(item)"
|
||||
@mousedown.prevent="selectSuggestion(item)"
|
||||
style="cursor: pointer;"
|
||||
>
|
||||
{{ item.text }}
|
||||
@@ -81,6 +81,7 @@ Vue.component('tt-autocomplete', {
|
||||
returnText: {type: Boolean, default: false},
|
||||
}, data() {
|
||||
return {
|
||||
window,
|
||||
displayingItems: [],
|
||||
oldDisplayValue: '',
|
||||
displayValue: '',
|
||||
|
||||
Reference in New Issue
Block a user