diff --git a/libs/vault/src/cipher-form/components/cipher-form.component.ts b/libs/vault/src/cipher-form/components/cipher-form.component.ts index c0260e0fc7c..0c38b995aa1 100644 --- a/libs/vault/src/cipher-form/components/cipher-form.component.ts +++ b/libs/vault/src/cipher-form/components/cipher-form.component.ts @@ -185,6 +185,10 @@ export class CipherFormComponent implements AfterViewInit, OnInit, OnChanges, Ci ); this.updatedCipherView = Object.assign(this.updatedCipherView, this.originalCipherView); + + if (this.config.mode === "clone") { + this.updatedCipherView.id = null; + } } else { this.updatedCipherView.type = this.config.cipherType; }