🐛 Fixed a console warning
This commit is contained in:
@@ -84,9 +84,7 @@
|
|||||||
source: {
|
source: {
|
||||||
type: Array,
|
type: Array,
|
||||||
required: true
|
required: true
|
||||||
},
|
}
|
||||||
|
|
||||||
value: {}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
@@ -98,7 +96,6 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
value: "",
|
value: "",
|
||||||
|
|
||||||
selectionStart: 0,
|
selectionStart: 0,
|
||||||
suggestionsOffsetLeft: 0,
|
suggestionsOffsetLeft: 0,
|
||||||
currentSuggestionIndex: -1,
|
currentSuggestionIndex: -1,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li id="filter-history">
|
<li id="filter-history">
|
||||||
<label for="filter-history-input">Search History</label>
|
<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>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<virtual-list class="virtual-list" :class="{filled: filteredHistory.length}" :size="89" :remain="Math.min(5, filteredHistory.length)">
|
<virtual-list class="virtual-list" :class="{filled: filteredHistory.length}" :size="89" :remain="Math.min(5, filteredHistory.length)">
|
||||||
|
|||||||
Reference in New Issue
Block a user