Editable dropdown component improvement (#13389)

* replace Tree with List

* comments
This commit is contained in:
Alan Ren
2020-11-13 13:36:54 -08:00
committed by GitHub
parent 6b657259a5
commit 99e3da5b48
12 changed files with 203 additions and 323 deletions

View File

@@ -607,8 +607,7 @@ export class ListDatabasesActionItem extends Disposable implements IActionViewIt
this._dropdown = new Dropdown(this._databaseListDropdown, contextViewProvider, {
strictSelection: true,
placeholder: this._selectDatabaseString,
ariaLabel: this._selectDatabaseString,
actionLabel: nls.localize('listDatabases.toggleDatabaseNameDropdown', "Select Database Toggle Dropdown")
ariaLabel: this._selectDatabaseString
});
this._register(this._dropdown.onValueChange(s => this.databaseSelected(s)));
this._register(this._dropdown.onFocus(() => this.onDropdownFocus()));