FIX: select-kit refactoring

- improve mini-tag-chooser keyboard behavior
- all multil select now respond to select all and left/right arrows
- improve events handling
- many minor tweaks
This commit is contained in:
Joffrey JAFFEUX
2018-03-22 11:29:55 +01:00
committed by GitHub
parent e053697cfa
commit d48542796e
54 changed files with 717 additions and 573 deletions

View File

@ -8,7 +8,7 @@ export default ComboBoxComponent.extend({
allowInitialValueMutation: false,
computeHeaderContent() {
let content = this.baseHeaderComputedContent();
let content = this._super();
content.name = I18n.t("topic.controls");
return content;
},
@ -45,7 +45,7 @@ export default ComboBoxComponent.extend({
return;
}
const refresh = () => this.send("deselect", value);
const refresh = () => this.deselect(this.get("selection"));
switch(value) {
case "invite":