Use `nullValidator` to accept No folder while moving (#5645)

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
This commit is contained in:
Ariful Alam 2024-04-03 02:35:23 +06:00 committed by GitHub
parent a4475e8232
commit 7ea717aa5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ export class BulkMoveDialogComponent implements OnInit {
cipherIds: string[] = []; cipherIds: string[] = [];
formGroup = this.formBuilder.group({ formGroup = this.formBuilder.group({
folderId: ["", [Validators.required]], folderId: ["", [Validators.nullValidator]],
}); });
folders$: Observable<FolderView[]>; folders$: Observable<FolderView[]>;