diff --git a/src/sql/platform/browser/editableDropdown/editableDropdown.component.ts b/src/sql/platform/browser/editableDropdown/editableDropdown.component.ts index 5ffb999d8d..af5321bee7 100644 --- a/src/sql/platform/browser/editableDropdown/editableDropdown.component.ts +++ b/src/sql/platform/browser/editableDropdown/editableDropdown.component.ts @@ -50,6 +50,7 @@ export class EditableDropDown extends AngularDisposable implements OnInit, OnCha this._selectbox = new Dropdown(this._el.nativeElement, this.contextViewService, dropdownOptions); this._selectbox.values = this.options; this._selectbox.value = this.selectedOption; + this._selectbox.fireOnTextChange = true; this._selectbox.onValueChange(e => { if (this.onlyEmitOnChange) { diff --git a/src/sql/platform/browser/selectBox/selectBox.component.ts b/src/sql/platform/browser/selectBox/selectBox.component.ts index 13720a33da..d8a1139607 100644 --- a/src/sql/platform/browser/selectBox/selectBox.component.ts +++ b/src/sql/platform/browser/selectBox/selectBox.component.ts @@ -8,7 +8,7 @@ import { Output, OnChanges, SimpleChanges, EventEmitter } from '@angular/core'; -import { SelectBox as vsSelectBox } from 'sql/base/browser/ui/selectBox/selectBox'; +import { SelectBox as sqlSelectBox } from 'sql/base/browser/ui/selectBox/selectBox'; import { AngularDisposable } from 'sql/base/browser/lifecycle'; import { IContextViewService } from 'vs/platform/contextview/browser/contextView'; @@ -21,7 +21,7 @@ import { IThemeService } from 'vs/platform/theme/common/themeService'; template: '' }) export class SelectBox extends AngularDisposable implements OnInit, OnChanges { - private _selectbox!: vsSelectBox; + private _selectbox!: sqlSelectBox; @Input() options!: string[]; @Input() selectedOption!: string; @@ -41,7 +41,7 @@ export class SelectBox extends AngularDisposable implements OnInit, OnChanges { } ngOnInit(): void { - this._selectbox = new vsSelectBox(this.options, this.selectedOption, this.contextViewService, undefined, { ariaLabel: this.ariaLabel }); + this._selectbox = new sqlSelectBox(this.options, this.selectedOption, this.contextViewService, undefined, { ariaLabel: this.ariaLabel }); this._selectbox.render(this._el.nativeElement); this._selectbox.onDidSelect(e => { if (this.onlyEmitOnChange) {