mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Clear connection validation messages on open (#1097)
This commit is contained in:
committed by
Karl Burtram
parent
bec8e72688
commit
e5a1896414
@@ -343,6 +343,12 @@ export class ConnectionWidget {
|
|||||||
public focusOnOpen(): void {
|
public focusOnOpen(): void {
|
||||||
this._serverNameInputBox.focus();
|
this._serverNameInputBox.focus();
|
||||||
this.focusPasswordIfNeeded();
|
this.focusPasswordIfNeeded();
|
||||||
|
this.clearValidationMessages();
|
||||||
|
}
|
||||||
|
|
||||||
|
private clearValidationMessages(): void {
|
||||||
|
this._serverNameInputBox.hideMessage();
|
||||||
|
this._userNameInputBox.hideMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
private getModelValue(value: string): string {
|
private getModelValue(value: string): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user