mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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
|
ariaLabel: constants.databaseProject
|
||||||
}).component();
|
}).component();
|
||||||
|
|
||||||
|
this.projectDropdown.onValueChanged(() => {
|
||||||
|
this.setDefaultDatabaseValues();
|
||||||
|
});
|
||||||
|
|
||||||
// get projects in workspace
|
// get projects in workspace
|
||||||
const workspaceFolders = vscode.workspace.workspaceFolders;
|
const workspaceFolders = vscode.workspace.workspaceFolders;
|
||||||
if (workspaceFolders?.length) {
|
if (workspaceFolders?.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user