We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e370ba commit 9652487Copy full SHA for 9652487
1 file changed
src/vs/workbench/parts/preferences/browser/preferencesWidgets.ts
@@ -345,8 +345,8 @@ export class SearchWidget extends Widget {
345
private createSearchContainer(searchContainer: HTMLElement) {
346
this.searchContainer = searchContainer;
347
const searchInput = DOM.append(this.searchContainer, DOM.$('div.settings-search-input'));
348
- this.inputBox = this.createInputBox(searchInput);
349
- this.inputBox.onDidChange(value => this._onDidChange.fire(value));
+ this.inputBox = this._register(this.createInputBox(searchInput));
+ this._register(this.inputBox.onDidChange(value => this._onDidChange.fire(value)));
350
this.onkeydown(this.inputBox.inputElement, (e) => this._onKeyDown(e));
351
}
352
0 commit comments