withProperties -> withProps (#15876)

* withProperties -> withProps

* Fix errors

* remove ,

* fixes

* Update azdata-test

* Fix dacpac tests

* Add required and remove added layout
This commit is contained in:
Charles Gagnon
2021-06-23 14:26:14 -07:00
committed by GitHub
parent e21f56d719
commit 3a3d7f5271
73 changed files with 417 additions and 414 deletions

View File

@@ -45,7 +45,7 @@ export class RemoteBookDialog {
this.dialog.registerContent(async view => {
this.view = view;
this.remoteLocationDropdown = this.view.modelBuilder.dropDown().withProperties({
this.remoteLocationDropdown = this.view.modelBuilder.dropDown().withProps({
values: this.remoteLocationCategories,
value: '',
editable: false,
@@ -53,7 +53,7 @@ export class RemoteBookDialog {
this.remoteLocationDropdown.onValueChanged(e => this.onRemoteLocationChanged());
this.githubRepoDropdown = this.view.modelBuilder.dropDown().withProperties({
this.githubRepoDropdown = this.view.modelBuilder.dropDown().withProps({
values: defaultRepos,
value: '',
editable: true,
@@ -69,7 +69,7 @@ export class RemoteBookDialog {
this.searchButton.onDidClick(async () => await this.validate());
this.releaseDropdown = this.view.modelBuilder.dropDown()
.withProperties({
.withProps({
values: [],
value: '',
enabled: false
@@ -77,7 +77,7 @@ export class RemoteBookDialog {
this.releaseDropdown.onValueChanged(async () => await this.getAssets());
this.bookDropdown = this.view.modelBuilder.dropDown().withProperties({
this.bookDropdown = this.view.modelBuilder.dropDown().withProps({
values: [],
value: '',
editable: false,
@@ -85,7 +85,7 @@ export class RemoteBookDialog {
this.bookDropdown.onValueChanged(async () => await this.fillVersionDropdown());
this.versionDropdown = this.view.modelBuilder.dropDown().withProperties({
this.versionDropdown = this.view.modelBuilder.dropDown().withProps({
values: [],
value: '',
editable: false,
@@ -93,7 +93,7 @@ export class RemoteBookDialog {
this.versionDropdown.onValueChanged(async () => await this.fillLanguageDropdown());
this.languageDropdown = this.view.modelBuilder.dropDown().withProperties({
this.languageDropdown = this.view.modelBuilder.dropDown().withProps({
values: [],
value: '',
editable: false,