mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add name property for DacFx wizard edit text boxes (#6775)
* add name property for file location edit and version edit * add aria label property for drop down component * remove 'Edit' from aria labels
This commit is contained in:
@@ -164,7 +164,10 @@ export class DeployConfigPage extends DacFxConfigPage {
|
||||
}
|
||||
|
||||
protected async createDeployDatabaseDropdown(): Promise<azdata.FormComponent> {
|
||||
this.databaseDropdown = this.view.modelBuilder.dropDown().component();
|
||||
const targetDatabaseTitle = localize('dacFx.targetDatabaseDropdownTitle', "Database Name");
|
||||
this.databaseDropdown = this.view.modelBuilder.dropDown().withProperties({
|
||||
ariaLabel: targetDatabaseTitle
|
||||
}).component();
|
||||
|
||||
//Handle database changes
|
||||
this.databaseDropdown.onValueChanged(async () => {
|
||||
@@ -177,7 +180,7 @@ export class DeployConfigPage extends DacFxConfigPage {
|
||||
|
||||
return {
|
||||
component: this.databaseLoader,
|
||||
title: localize('dacFx.targetDatabaseDropdownTitle', 'Database Name')
|
||||
title: targetDatabaseTitle
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -111,8 +111,9 @@ export class ExtractConfigPage extends DacFxConfigPage {
|
||||
required: true
|
||||
}).component();
|
||||
|
||||
// default filepath
|
||||
// default version
|
||||
this.versionTextBox.value = '1.0.0.0';
|
||||
this.versionTextBox.ariaLabel = localize('dacfx.versionAriaLabel', "Version");
|
||||
this.model.version = this.versionTextBox.value;
|
||||
|
||||
this.versionTextBox.onTextChanged(async () => {
|
||||
|
||||
Reference in New Issue
Block a user