fix: typed signature not working (#1635)

The `typedSignatureEnabled` prop was removed from the `SignatureField`
component, which broke the typed signature meaning that nobody could
sign documents by typing their signature.
This commit is contained in:
Catalin Pit
2025-02-05 12:02:21 +02:00
committed by David Nguyen
parent c5d5355cf7
commit b205f7e5f3
2 changed files with 7 additions and 1 deletions

View File

@@ -178,7 +178,11 @@ export const DocumentSigningPageView = ({
.map((field) =>
match(field.type)
.with(FieldType.SIGNATURE, () => (
<DocumentSigningSignatureField key={field.id} field={field} />
<DocumentSigningSignatureField
key={field.id}
field={field}
typedSignatureEnabled={documentMeta?.typedSignatureEnabled}
/>
))
.with(FieldType.INITIALS, () => (
<DocumentSigningInitialsField key={field.id} field={field} />