mirror of
https://github.com/documenso/documenso
synced 2026-05-24 09:28:27 +00:00
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:
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>
|
||||
|
|
|
|||
|
|
@ -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} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue