From 953bd064bc2650d72025d082a27d427c5e3cc526 Mon Sep 17 00:00:00 2001 From: Kim Santiago <31145923+kisantia@users.noreply.github.com> Date: Wed, 28 Aug 2019 10:11:03 -0700 Subject: [PATCH] fix wrong dacfx wizard radio button count (#6991) --- extensions/dacpac/src/wizard/pages/selectOperationpage.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; }