diff --git a/src/layer/annotation/index.ts b/src/layer/annotation/index.ts index efbfb7caf..e9869bb68 100644 --- a/src/layer/annotation/index.ts +++ b/src/layer/annotation/index.ts @@ -489,6 +489,7 @@ class TagsTab extends Tab { if (inputElement.validity.valid && !tags.value.includes(value)) { tags.value.push(value); tags.changed.dispatch(); + inputElement.value = ""; } }, });