🐛 Fixed a console warning

This commit is contained in:
Liyas Thomas
2019-09-04 16:29:09 +05:30
parent e95a4a9782
commit f2837b1b2d
2 changed files with 2 additions and 5 deletions

View File

@@ -84,9 +84,7 @@
source: {
type: Array,
required: true
},
value: {}
}
},
watch: {
@@ -98,7 +96,6 @@
data() {
return {
value: "",
selectionStart: 0,
suggestionsOffsetLeft: 0,
currentSuggestionIndex: -1,

View File

@@ -3,7 +3,7 @@
<ul>
<li id="filter-history">
<label for="filter-history-input">Search History</label>
<input id="filter-history-input" type="text" :disabled="history.length === 0 || isClearingHistory" v-model="filterText">
<input id="filter-history-input" type="text" :readonly="history.length === 0 || isClearingHistory" v-model="filterText">
</li>
</ul>
<virtual-list class="virtual-list" :class="{filled: filteredHistory.length}" :size="89" :remain="Math.min(5, filteredHistory.length)">