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: modals inputs not working properly
Andrew Bastinb32b0f9bcb62
diff --git a/packages/hoppscotch-common/src/components/collections/Add.vue b/packages/hoppscotch-common/src/components/collections/Add.vueindex ff5e7aac9..2a39b7d4b 100644--- a/packages/hoppscotch-common/src/components/collections/Add.vue+++ b/packages/hoppscotch-common/src/components/collections/Add.vue@@ -7,7 +7,7 @@><template #body><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" ":label="t('action.label')"input-styles="floating-input"diff --git a/packages/hoppscotch-common/src/components/collections/AddFolder.vue b/packages/hoppscotch-common/src/components/collections/AddFolder.vueindex 02012ba51..e8f3aaf15 100644--- a/packages/hoppscotch-common/src/components/collections/AddFolder.vue+++ b/packages/hoppscotch-common/src/components/collections/AddFolder.vue@@ -7,7 +7,7 @@><template #body><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" "input-styles="floating-input":label="t('action.label')"diff --git a/packages/hoppscotch-common/src/components/collections/AddRequest.vue b/packages/hoppscotch-common/src/components/collections/AddRequest.vueindex 823b977d0..3d60e17af 100644--- a/packages/hoppscotch-common/src/components/collections/AddRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/AddRequest.vue@@ -7,7 +7,7 @@><template #body><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" ":label="t('action.label')"input-styles="floating-input"diff --git a/packages/hoppscotch-common/src/components/collections/Edit.vue b/packages/hoppscotch-common/src/components/collections/Edit.vueindex a191a7ee8..2199b639b 100644--- a/packages/hoppscotch-common/src/components/collections/Edit.vue+++ b/packages/hoppscotch-common/src/components/collections/Edit.vue@@ -7,7 +7,7 @@><template #body><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" "input-styles="floating-input":label="t('action.label')"diff --git a/packages/hoppscotch-common/src/components/collections/EditFolder.vue b/packages/hoppscotch-common/src/components/collections/EditFolder.vueindex 7eaede46d..4df949e93 100644--- a/packages/hoppscotch-common/src/components/collections/EditFolder.vue+++ b/packages/hoppscotch-common/src/components/collections/EditFolder.vue@@ -7,7 +7,7 @@><template #body><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" ":label="t('action.label')"input-styles="floating-input"diff --git a/packages/hoppscotch-common/src/components/collections/EditRequest.vue b/packages/hoppscotch-common/src/components/collections/EditRequest.vueindex 394a5e62f..7d6140381 100644--- a/packages/hoppscotch-common/src/components/collections/EditRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/EditRequest.vue@@ -7,7 +7,7 @@><template #body><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" ":label="t('action.label')"input-styles="floating-input"diff --git a/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue b/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vueindex f103f80c0..aeeacb9a8 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue@@ -7,7 +7,7 @@><template #body><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" ":label="t('action.label')"input-styles="floating-input"diff --git a/packages/hoppscotch-common/src/components/collections/graphql/Edit.vue b/packages/hoppscotch-common/src/components/collections/graphql/Edit.vueindex b28f4ba48..c6bc7c5a4 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/Edit.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/Edit.vue@@ -7,7 +7,7 @@><template #body><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" ":label="t('action.label')"input-styles="floating-input"diff --git a/packages/hoppscotch-common/src/components/environments/my/Details.vue b/packages/hoppscotch-common/src/components/environments/my/Details.vueindex 79060381f..7a2a72624 100644--- a/packages/hoppscotch-common/src/components/environments/my/Details.vue+++ b/packages/hoppscotch-common/src/components/environments/my/Details.vue@@ -8,7 +8,7 @@<template #body><div class="flex flex-col"><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" ":label="t('action.label')"input-styles="floating-input"diff --git a/packages/hoppscotch-common/src/components/environments/teams/Details.vue b/packages/hoppscotch-common/src/components/environments/teams/Details.vueindex 952801f77..8170a42e6 100644--- a/packages/hoppscotch-common/src/components/environments/teams/Details.vue+++ b/packages/hoppscotch-common/src/components/environments/teams/Details.vue@@ -8,7 +8,7 @@<template #body><div class="flex flex-col px-2"><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" ":input-styles="['floating-input', isViewer && 'opacity-25']":label="t('action.label')"diff --git a/packages/hoppscotch-common/src/components/realtime/Subscription.vue b/packages/hoppscotch-common/src/components/realtime/Subscription.vueindex d39797bf0..2fcea4781 100644--- a/packages/hoppscotch-common/src/components/realtime/Subscription.vue+++ b/packages/hoppscotch-common/src/components/realtime/Subscription.vue@@ -35,7 +35,7 @@<div class="relative flex flex-col"><inputid="selectLabelAdd"- v-model="name"+ v-model="editingName"v-focusclass="input floating-input"placeholder=" "diff --git a/packages/hoppscotch-common/src/components/teams/Add.vue b/packages/hoppscotch-common/src/components/teams/Add.vueindex 3aa95d956..8ff965282 100644--- a/packages/hoppscotch-common/src/components/teams/Add.vue+++ b/packages/hoppscotch-common/src/components/teams/Add.vue@@ -2,7 +2,7 @@<HoppSmartModal v-if="show" dialog :title="t('team.new')" @close="hideModal"><template #body><HoppSmartInput- v-model="name"+ v-model="editingName":label="t('action.label')"placeholder=" "input-styles="floating-input"diff --git a/packages/hoppscotch-common/src/components/teams/Edit.vue b/packages/hoppscotch-common/src/components/teams/Edit.vueindex f3f77a6b7..90fc88656 100644--- a/packages/hoppscotch-common/src/components/teams/Edit.vue+++ b/packages/hoppscotch-common/src/components/teams/Edit.vue@@ -3,7 +3,7 @@<template #body><div class="flex flex-col"><HoppSmartInput- v-model="name"+ v-model="editingName"placeholder=" ":label="t('action.label')"input-styles="floating-input"@@ -177,7 +177,7 @@</template><script setup lang="ts">-import { computed, ref, toRef, watch } from "vue"+import { computed, ref, watch } from "vue"import * as E from "fp-ts/Either"import {GetTeamDocument,@@ -228,7 +228,7 @@ const props = defineProps<{const toast = useToast()-const editingName = toRef(props.editingTeam, "name")+const editingName = ref(props.editingTeam.name)watch(() => props.editingTeam.name,