disable target connection input box in publish dialog (#11013)

This commit is contained in:
Kim Santiago
2020-06-19 15:27:46 -07:00
committed by GitHub
parent f278e2a7a2
commit 74c2853f14

View File

@@ -282,10 +282,10 @@ export class DeployDatabaseDialog {
}
private createTargetConnectionComponent(view: azdata.ModelView): azdata.FormComponent {
// TODO: make this not editable
this.targetConnectionTextBox = view.modelBuilder.inputBox().withProperties({
value: '',
ariaLabel: constants.targetConnectionLabel
ariaLabel: constants.targetConnectionLabel,
enabled: false
}).component();
this.targetConnectionTextBox.onTextChanged(() => {