Fix to ensure signature action button is disabled in the builder and preview, if configured

This commit is contained in:
Dean 2024-04-15 18:18:15 +01:00
parent 7f5c2b59e3
commit eed8deca35
1 changed files with 4 additions and 1 deletions

View File

@ -104,8 +104,11 @@
{#if (Array.isArray(fieldState?.value) && !fieldState?.value?.length) || !fieldState?.value} {#if (Array.isArray(fieldState?.value) && !fieldState?.value?.length) || !fieldState?.value}
<ActionButton <ActionButton
fullWidth fullWidth
{disabled}
on:click={() => { on:click={() => {
modal.show() if (!$builderStore.inBuilder) {
modal.show()
}
}} }}
> >
Add signature Add signature