mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 22:26:26 +08:00
FIX: Clicking on category autocomplete row (#10457)
This commit is contained in:
parent
6d0eb7178d
commit
f2588e1c85
|
@ -407,7 +407,10 @@ export default Component.extend({
|
|||
$(this.element.querySelector(".d-editor-input")).autocomplete({
|
||||
template: findRawTemplate("category-tag-autocomplete"),
|
||||
key: "#",
|
||||
afterComplete: () => this._focusTextArea(),
|
||||
afterComplete: value => {
|
||||
this.set("value", value);
|
||||
return this._focusTextArea();
|
||||
},
|
||||
transformComplete: obj => {
|
||||
return obj.text;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user