diff --git a/assets/css/styles.scss b/assets/css/styles.scss
index 5906ac886..382870d31 100644
--- a/assets/css/styles.scss
+++ b/assets/css/styles.scss
@@ -587,6 +587,14 @@ pre {
.select-wrapper {
position: relative;
+ input {
+ text-transform: uppercase;
+ }
+
+ .trigger {
+ width: 100%;
+ }
+
&:after {
display: inline-block;
position: absolute;
diff --git a/pages/index.vue b/pages/index.vue
index 300204ede..af395bd97 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -45,17 +45,92 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1574,6 +1649,12 @@ export default {
editingRequest(newValue) {
this.editRequest = newValue;
this.showRequestModal = true;
+ },
+ method() {
+ // this.$store.commit('setState', { 'value': ["POST", "PUT", "PATCH"].includes(this.method) ? 'application/json' : '', 'attribute': 'contentType' })
+ this.contentType = ["POST", "PUT", "PATCH"].includes(this.method)
+ ? "application/json"
+ : "";
}
},
computed: {
@@ -2669,12 +2750,6 @@ export default {
}
this.setRouteQueryState();
},
- methodChange() {
- // this.$store.commit('setState', { 'value': ["POST", "PUT", "PATCH"].includes(this.method) ? 'application/json' : '', 'attribute': 'contentType' })
- this.contentType = ["POST", "PUT", "PATCH"].includes(this.method)
- ? "application/json"
- : "";
- },
uploadPayload() {
this.rawInput = true;
const file = this.$refs.payload.files[0];