clear autocomplete dropdown if empty

This commit is contained in:
Gani Georgiev committed 2026-09-02 08:10:49 +03:00
1 parent d0b441bc24
commit fd5b9e5f75
7 files changed
+8 -7

No files matched your search

+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;
}