FIX: do not attempt to deselect tags if filter is not empty (#9345)
This commit is contained in:
parent
76bb01c31c
commit
883901e4c0
|
@ -188,7 +188,9 @@ export default ComboBox.extend(TagsMixin, {
|
||||||
const value = makeArray(this.value);
|
const value = makeArray(this.value);
|
||||||
|
|
||||||
if (event.keyCode === 8) {
|
if (event.keyCode === 8) {
|
||||||
|
if (!this.selectKit.filter) {
|
||||||
this._onBackspace(this.value, this.highlightedTag);
|
this._onBackspace(this.value, this.highlightedTag);
|
||||||
|
}
|
||||||
} else if (event.keyCode === 37) {
|
} else if (event.keyCode === 37) {
|
||||||
if (this.highlightedTag) {
|
if (this.highlightedTag) {
|
||||||
const index = value.indexOf(this.highlightedTag);
|
const index = value.indexOf(this.highlightedTag);
|
||||||
|
|
Loading…
Reference in New Issue