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

This commit is contained in:
Joffrey JAFFEUX 2018-02-27 18:31:51 +01:00 committed by GitHub
parent 96b4617094
commit ba2f01c0bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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();