From 3c42178c813171ec405ac96899afd4de6da89aae Mon Sep 17 00:00:00 2001 From: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com> Date: Fri, 28 Apr 2023 16:59:19 -0500 Subject: [PATCH] Fix validation clearing for new project selection (#5301) --- .../secrets-manager/secrets/dialog/secret-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitwarden_license/bit-web/src/app/secrets-manager/secrets/dialog/secret-dialog.component.ts b/bitwarden_license/bit-web/src/app/secrets-manager/secrets/dialog/secret-dialog.component.ts index bcc1e521e7..6cd0b2d648 100644 --- a/bitwarden_license/bit-web/src/app/secrets-manager/secrets/dialog/secret-dialog.component.ts +++ b/bitwarden_license/bit-web/src/app/secrets-manager/secrets/dialog/secret-dialog.component.ts @@ -144,7 +144,7 @@ export class SecretDialogComponent implements OnInit { this.formGroup.get("newProjectName").clearValidators(); } - this.formGroup.updateValueAndValidity(); + this.formGroup.get("newProjectName").updateValueAndValidity(); } get title() {