mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 09:35:37 -05:00
Editable dropdown component improvement (#13389)
* replace Tree with List * comments
This commit is contained in:
@@ -161,6 +161,7 @@ export class ConnectionWidget extends lifecycle.Disposable {
|
||||
this._previousGroupOption = this._serverGroupSelectBox.value;
|
||||
this._container = DOM.append(container, DOM.$('div.connection-table'));
|
||||
this._tableContainer = DOM.append(this._container, DOM.$('table.connection-table-content'));
|
||||
this._tableContainer.setAttribute('role', 'presentation');
|
||||
this.fillInConnectionForm(authTypeChanged);
|
||||
this.registerListeners();
|
||||
if (this._authTypeSelectBox) {
|
||||
@@ -284,8 +285,7 @@ export class ConnectionWidget extends lifecycle.Disposable {
|
||||
strictSelection: false,
|
||||
placeholder: this._defaultDatabaseName,
|
||||
maxHeight: 125,
|
||||
ariaLabel: databaseOption.displayName,
|
||||
actionLabel: localize('connectionWidget.toggleDatabaseNameDropdown', "Select Database Toggle Dropdown")
|
||||
ariaLabel: databaseOption.displayName
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -213,8 +213,7 @@ export class RestoreDialog extends Modal {
|
||||
this._databaseDropdown = new Dropdown(dropdownContainer, this._contextViewService,
|
||||
{
|
||||
strictSelection: false,
|
||||
ariaLabel: LocalizedStrings.TARGETDATABASE,
|
||||
actionLabel: localize('restoreDialog.toggleDatabaseNameDropdown', "Select Database Toggle Dropdown")
|
||||
ariaLabel: LocalizedStrings.TARGETDATABASE
|
||||
}
|
||||
);
|
||||
this._databaseDropdown.onValueChange(s => {
|
||||
|
||||
Reference in New Issue
Block a user