mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 18:57:20 -05:00
FIX: do not attempt to deselect tags if filter is not empty (#9345)
This commit is contained in:
@@ -188,7 +188,9 @@ export default ComboBox.extend(TagsMixin, {
|
||||
const value = makeArray(this.value);
|
||||
|
||||
if (event.keyCode === 8) {
|
||||
this._onBackspace(this.value, this.highlightedTag);
|
||||
if (!this.selectKit.filter) {
|
||||
this._onBackspace(this.value, this.highlightedTag);
|
||||
}
|
||||
} else if (event.keyCode === 37) {
|
||||
if (this.highlightedTag) {
|
||||
const index = value.indexOf(this.highlightedTag);
|
||||
|
||||
Reference in New Issue
Block a user