Skip to content

Commit

Permalink
reset tag tool text input after a new tool is added
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisj committed Aug 29, 2024
1 parent 1cfa33f commit e07da4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/layer/annotation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
}
},
});
Expand Down

0 comments on commit e07da4e

Please sign in to comment.