Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: prevent overwrite of content type (#1703)
nelsontky7e9ae69f3873
diff --git a/components/smart/AutoComplete.vue b/components/smart/AutoComplete.vueindex 6def418a0..e89976c08 100644--- a/components/smart/AutoComplete.vue+++ b/components/smart/AutoComplete.vue@@ -107,6 +107,9 @@ export default {text() {this.$emit("input", this.text)},+ value(newValue) {+ this.text = newValue+ }},mounted() {diff --git a/pages/index.vue b/pages/index.vueindex 907ab9e4c..aab8bbf81 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -818,8 +818,8 @@ export default {},method() {this.contentType = ["POST", "PUT", "PATCH", "DELETE"].includes(this.method)- ? "application/json"- : ""+ ? this.contentType+ : "application/json"},preRequestScript(val, oldVal) {this.uri = this.uri