Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:bug: Fixed a console warning

Liyas Thomasf2837b1b2d1a
diff --git a/components/autocomplete.vue b/components/autocomplete.vue
index a1482af45..d89eeb146 100644
--- a/components/autocomplete.vue
+++ b/components/autocomplete.vue
@@ -84,9 +84,7 @@
source: {
type: Array,
required: true
- },
-
- value: {}
+ }
},
watch: {
@@ -98,7 +96,6 @@
data() {
return {
value: "",
-
selectionStart: 0,
suggestionsOffsetLeft: 0,
currentSuggestionIndex: -1,
diff --git a/components/history.vue b/components/history.vue
index c13d041e4..592b5571e 100644
--- a/components/history.vue
+++ b/components/history.vue
@@ -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)">