Clear tag input after initializing tag editors
CI / test (push) Failing after 2m58s

This commit is contained in:
2026-09-16 20:30:38 +02:00
parent ef608551ad
commit 6670100248
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -409,6 +409,7 @@ function initializeTagEditors(root = document) {
if (!input || !bubbles || !suggestions) return;
let tags = input.value.split(",").map((tag) => tag.trim().toLowerCase()).filter(Boolean);
tags = [...new Set(tags)];
input.value = "";
const render = () => {
bubbles.replaceChildren(...tags.map((tag) => {
const bubble = document.createElement("span");