From 10cb900bd77d7731761e7c0d97715e64832dd54a Mon Sep 17 00:00:00 2001 From: nivedin Date: Wed, 24 Apr 2024 14:54:46 +0530 Subject: [PATCH] fix: revert text update in envinput for empty state --- .../src/components/smart/EnvInput.vue | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packages/hoppscotch-common/src/components/smart/EnvInput.vue b/packages/hoppscotch-common/src/components/smart/EnvInput.vue index c0c486cd2..3638c6cad 100644 --- a/packages/hoppscotch-common/src/components/smart/EnvInput.vue +++ b/packages/hoppscotch-common/src/components/smart/EnvInput.vue @@ -473,21 +473,6 @@ const initView = (el: any) => { extensions, }), }) - - if (props.placeholderHoverString) { - if (props.modelValue === props.placeholder) { - // clear input - view.value?.dispatch({ - changes: { - from: 0, - to: view.value.state.doc.length, - insert: "", - }, - }) - } - - placeholderCompt.reconfigure(placeholderExt(placeholderString.value)) - } } const getExtensions = (readonly: boolean): Extension => {