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-13 19:47:38 +11:00
committed by David Nguyen
parent c5d5355cf7
commit b205f7e5f3
2 changed files with 7 additions and 1 deletions
@@ -190,6 +190,7 @@ export const DirectTemplateSigningForm = ({
field={field}
onSignField={onSignField}
onUnsignField={onUnsignField}
typedSignatureEnabled={template.templateMeta?.typedSignatureEnabled}
/>
))
.with(FieldType.INITIALS, () => (
@@ -343,6 +344,7 @@ export const DirectTemplateSigningForm = ({
onChange={(value) => {
setSignature(value);
}}
allowTypedSignature={template.templateMeta?.typedSignatureEnabled}
/>
</CardContent>
</Card>