forked from extern/egroupware
WIP taglist: Fix backspace doesn't remove selected tags
This commit is contained in:
parent
f76ee3c920
commit
285b71b6aa
@ -183,8 +183,8 @@ export class TaglistSelection extends LitElement {
|
|||||||
__inputOnKeyup(ev) {
|
__inputOnKeyup(ev) {
|
||||||
if (ev.key === 'Backspace') {
|
if (ev.key === 'Backspace') {
|
||||||
if (!this._inputNode.value) {
|
if (!this._inputNode.value) {
|
||||||
if (this.selectedTags.length) {
|
if (this.__getSelectedTags().length) {
|
||||||
this.selectedTags[this.selectedTags.length - 1].checked = false;
|
this.__getSelectedTags()[this.__getSelectedTags().length - 1].checked = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user