mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user