diff --git a/extensions/dacpac/src/wizard/pages/selectOperationpage.ts b/extensions/dacpac/src/wizard/pages/selectOperationpage.ts index f3011667b3..c7907496a6 100644 --- a/extensions/dacpac/src/wizard/pages/selectOperationpage.ts +++ b/extensions/dacpac/src/wizard/pages/selectOperationpage.ts @@ -39,6 +39,10 @@ export class SelectOperationPage extends BasePage { let importComponent = await this.createImportRadioButton(); let exportComponent = await this.createExportRadioButton(); + // default have the first radio button checked + this.deployRadioButton.checked = true; + this.deployRadioButton.focused = true; + this.form = this.view.modelBuilder.formContainer() .withFormItems( [ @@ -51,9 +55,6 @@ export class SelectOperationPage extends BasePage { }).component(); await this.view.initializeModel(this.form); - // default have the first radio button checked - this.deployRadioButton.checked = true; - this.deployRadioButton.focused = true; this.instance.setDoneButton(Operation.deploy); return true; }