client/tags: add [delete] key support in tag input
This commit is contained in:
parent
e291369701
commit
97b217dc31
1 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,10 @@ class TagInputControl extends events.EventTarget {
|
|||
this._tagInputNode.value = '';
|
||||
this.addTag(text, SOURCE_USER_INPUT);
|
||||
},
|
||||
delete: text => {
|
||||
this._tagInputNode.value = '';
|
||||
this.deleteTag(text);
|
||||
},
|
||||
verticalShift: -2,
|
||||
isTaggedWith: tagName => this.isTaggedWith(tagName),
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue