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:
parent
a4475e8232
commit
7ea717aa5d
|
@ -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[]>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue