mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-10 00:07:27 +02:00
clear autocomplete dropdown if empty
This commit is contained in:
1 parent
d0b441bc24
commit
fd5b9e5f75
7 files changed
+8
-7
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user