mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
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:
@ -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":
|
||||
|
Reference in New Issue
Block a user