mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Update default values and example text when dropdown value changes (#12493)
This commit is contained in:
@@ -257,6 +257,10 @@ export class AddDatabaseReferenceDialog {
|
||||
ariaLabel: constants.databaseProject
|
||||
}).component();
|
||||
|
||||
this.projectDropdown.onValueChanged(() => {
|
||||
this.setDefaultDatabaseValues();
|
||||
});
|
||||
|
||||
// get projects in workspace
|
||||
const workspaceFolders = vscode.workspace.workspaceFolders;
|
||||
if (workspaceFolders?.length) {
|
||||
|
||||
Reference in New Issue
Block a user