mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REFACTOR: s/focusAfterOnchange/focusAfterOnChange (#9801)
This commit is contained in:
@@ -271,7 +271,7 @@ export default Component.extend(
|
||||
selectedNameComponent: "selected-name",
|
||||
castInteger: false,
|
||||
preventsClickPropagation: false,
|
||||
focusAfterOnchange: true
|
||||
focusAfterOnChange: true
|
||||
},
|
||||
|
||||
autoFilterable: computed("content.[]", "selectKit.filter", function() {
|
||||
@@ -430,7 +430,7 @@ export default Component.extend(
|
||||
this.selectKit.close();
|
||||
}
|
||||
|
||||
if (this.selectKit.options.focusAfterOnchange) {
|
||||
if (this.selectKit.options.focusAfterOnChange) {
|
||||
this._safeAfterRender(() => {
|
||||
this._focusFilter();
|
||||
this.popper && this.popper.update();
|
||||
|
||||
Reference in New Issue
Block a user