diff --git a/resources/views/components/forms/env-var-input.blade.php b/resources/views/components/forms/env-var-input.blade.php index 833de7190..53a6b21ec 100644 --- a/resources/views/components/forms/env-var-input.blade.php +++ b/resources/views/components/forms/env-var-input.blade.php @@ -20,22 +20,12 @@ availableVars: @js($availableVars), scopeUrls: @js($scopeUrls), - isAutocompleteDisabled() { - const hasAnyVars = Object.values(this.availableVars).some(vars => vars.length > 0); - return !hasAnyVars; - }, - handleInput() { const input = this.$refs.input; if (!input) return; const value = input.value || ''; - if (this.isAutocompleteDisabled()) { - this.showDropdown = false; - return; - } - this.cursorPosition = input.selectionStart || 0; const textBeforeCursor = value.substring(0, this.cursorPosition);