mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-20 13:30:50 +02:00
clear autocomplete dropdown if empty
This commit is contained in:
@@ -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