mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 09:35:38 -05:00
Fixed issue: input change on dropdownbox not reflected to 'dropdownbox.… (#4316)
This commit is contained in:
@@ -96,6 +96,7 @@ export class Dropdown extends Disposable {
|
||||
private _filter = new DropdownFilter();
|
||||
private _renderer = new DropdownRenderer();
|
||||
private _controller = new DropdownController();
|
||||
public fireOnTextChange: boolean;
|
||||
|
||||
private _onBlur = this._register(new Emitter<void>());
|
||||
public onBlur: Event<void> = this._onBlur.event;
|
||||
@@ -211,6 +212,10 @@ export class Dropdown extends Disposable {
|
||||
this._filter.filterString = e;
|
||||
this._layoutTree();
|
||||
}
|
||||
if (this.fireOnTextChange) {
|
||||
this.value = e;
|
||||
this._onValueChange.fire(e);
|
||||
}
|
||||
});
|
||||
|
||||
this._register(this._contextView);
|
||||
|
||||
Reference in New Issue
Block a user