From 7ea717aa5dd921b56c4c5e8e82c8ff89605d19a8 Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Wed, 3 Apr 2024 02:35:23 +0600 Subject: [PATCH] Use `nullValidator` to accept No folder while moving (#5645) Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com> --- .../bulk-move-dialog/bulk-move-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/app/vault/individual-vault/bulk-action-dialogs/bulk-move-dialog/bulk-move-dialog.component.ts b/apps/web/src/app/vault/individual-vault/bulk-action-dialogs/bulk-move-dialog/bulk-move-dialog.component.ts index 09522beadc..cdf45d0669 100644 --- a/apps/web/src/app/vault/individual-vault/bulk-action-dialogs/bulk-move-dialog/bulk-move-dialog.component.ts +++ b/apps/web/src/app/vault/individual-vault/bulk-action-dialogs/bulk-move-dialog/bulk-move-dialog.component.ts @@ -41,7 +41,7 @@ export class BulkMoveDialogComponent implements OnInit { cipherIds: string[] = []; formGroup = this.formBuilder.group({ - folderId: ["", [Validators.required]], + folderId: ["", [Validators.nullValidator]], }); folders$: Observable;