diff --git a/packages/forms/src/documents/document.ts b/packages/forms/src/documents/document.ts index 90b02e6f..48b5fe08 100644 --- a/packages/forms/src/documents/document.ts +++ b/packages/forms/src/documents/document.ts @@ -128,20 +128,6 @@ export const addDocumentFieldsToForm = ( maxLength: 128, }, } satisfies InputPattern); - } else if (field.type === 'Attachment') { - patterns.push({ - type: 'attachment', - id: patternId, - data: { - label: field.label, - required: false, - maxAttachments: 1, - allowedFileTypes: attachmentFileTypeMimes as [ - (typeof attachmentFileTypeMimes)[number], - ], - maxFileSizeMB: 10, - }, - } satisfies AttachmentPattern); } else if (field.type === 'RadioGroup') { patterns.push({ type: 'input',