Clear connection validation messages on open (#1097)

This commit is contained in:
Matt Irvine
2018-04-06 15:55:14 -07:00
committed by Karl Burtram
parent bec8e72688
commit e5a1896414

View File

@@ -343,6 +343,12 @@ export class ConnectionWidget {
public focusOnOpen(): void {
this._serverNameInputBox.focus();
this.focusPasswordIfNeeded();
this.clearValidationMessages();
}
private clearValidationMessages(): void {
this._serverNameInputBox.hideMessage();
this._userNameInputBox.hideMessage();
}
private getModelValue(value: string): string {