clear autocomplete dropdown if empty

This commit is contained in:
Gani Georgiev
2026-09-02 08:10:49 +03:00
parent d0b441bc24
commit fd5b9e5f75
7 changed files with 8 additions and 7 deletions
+1
View File
@@ -183,6 +183,7 @@ window.app.components.codeEditor = function(propsArg = {}) {
if (!props.value?.length) {
editorContent.textContent = ""; // ensure that no comments, br, etc. tags are left
closeAutocompleteDropdown();
return;
}