From 199c4ec94765dfcd245f178a80a727b50d14af48 Mon Sep 17 00:00:00 2001 From: Sherfin Shamsudeen Date: Mon, 20 Jan 2025 15:16:38 +0530 Subject: [PATCH] Initial code suggestions should always show primary state items --- .../src/AppBuilder/CodeEditor/autocompleteExtensionConfig.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/AppBuilder/CodeEditor/autocompleteExtensionConfig.js b/frontend/src/AppBuilder/CodeEditor/autocompleteExtensionConfig.js index c244cd1dde..d845fa521e 100644 --- a/frontend/src/AppBuilder/CodeEditor/autocompleteExtensionConfig.js +++ b/frontend/src/AppBuilder/CodeEditor/autocompleteExtensionConfig.js @@ -163,8 +163,6 @@ export const generateHints = (hints, totalReferences = 1, input, searchText) => }; function filterHintsByDepth(input, hints) { - if (input === '') return hints; - const inputParts = input.split('.'); const inputDepth = inputParts.length + 1;