add learn more link for sdk style in create project from db dialog (#18637)

This commit is contained in:
Kim Santiago
2022-03-04 13:00:21 -08:00
committed by GitHub
parent 9a944b614d
commit 9e3d678536
3 changed files with 14 additions and 3 deletions

View File

@@ -92,6 +92,16 @@ export class CreateProjectFromDatabaseDialog {
label: constants.sdkStyleProject
}).component();
const sdkLearnMore = view.modelBuilder.hyperlink().withProps({
label: constants.learnMore,
url: constants.sdkLearnMoreUrl
}).component();
const sdkFormComponentGroup = view.modelBuilder.flexContainer()
.withLayout({ flexFlow: 'row', alignItems: 'baseline' })
.withItems([this.sdkStyleCheckbox, sdkLearnMore], { CSSStyles: { flex: '0 0 auto', 'margin-right': '10px' } })
.component();
this.formBuilder = <azdataType.FormBuilder>view.modelBuilder.formContainer()
.withFormItems([
{
@@ -117,7 +127,7 @@ export class CreateProjectFromDatabaseDialog {
component: createProjectSettingsFormSection,
},
{
component: this.sdkStyleCheckbox
component: sdkFormComponentGroup
}
]
}