Skip to content

A platform for community discussion. Free, open, simple.

FIX: prevents selected value from hiding one item of the list

Joffrey JAFFEUXba2f01c0bd72
diff --git a/app/assets/javascripts/select-kit/components/mini-tag-chooser.js.es6 b/app/assets/javascripts/select-kit/components/mini-tag-chooser.js.es6
index 884531af06a..b6f445a4f73 100644
--- a/app/assets/javascripts/select-kit/components/mini-tag-chooser.js.es6
+++ b/app/assets/javascripts/select-kit/components/mini-tag-chooser.js.es6
@@ -87,6 +87,10 @@ export default ComboBox.extend(Tags, {
this.didPressBackspace(event);
},
+ // we are relying on selectedTags and not on value
+ // to define the current selection
+ mutateValue() {},
+
didPressBackspace() {
if (!this.get("isExpanded")) {
this.expand();