mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Disabled connection name input when connecting to a server. (#2566)
* Disabled connection name input when connecting to a server. #2557 * Fixed reset state of connection inputs
This commit is contained in:
@@ -492,6 +492,7 @@ export class ConnectionWidget {
|
|||||||
this._databaseNameInputBox.enabled = false;
|
this._databaseNameInputBox.enabled = false;
|
||||||
this._userNameInputBox.disable();
|
this._userNameInputBox.disable();
|
||||||
this._passwordInputBox.disable();
|
this._passwordInputBox.disable();
|
||||||
|
this._connectionNameInputBox.disable();
|
||||||
this._rememberPasswordCheckBox.enabled = false;
|
this._rememberPasswordCheckBox.enabled = false;
|
||||||
if (this._authTypeSelectBox) {
|
if (this._authTypeSelectBox) {
|
||||||
this._authTypeSelectBox.disable();
|
this._authTypeSelectBox.disable();
|
||||||
@@ -503,6 +504,7 @@ export class ConnectionWidget {
|
|||||||
|
|
||||||
this._serverGroupSelectBox.enable();
|
this._serverGroupSelectBox.enable();
|
||||||
this._serverNameInputBox.enable();
|
this._serverNameInputBox.enable();
|
||||||
|
this._connectionNameInputBox.enable();
|
||||||
this._databaseNameInputBox.enabled = true;
|
this._databaseNameInputBox.enabled = true;
|
||||||
let currentAuthType: AuthenticationType = undefined;
|
let currentAuthType: AuthenticationType = undefined;
|
||||||
if (this._authTypeSelectBox) {
|
if (this._authTypeSelectBox) {
|
||||||
|
|||||||
Reference in New Issue
Block a user