Fix to ensure signature action button is disabled in the builder and preview, if configured
This commit is contained in:
parent
7f5c2b59e3
commit
eed8deca35
|
@ -104,8 +104,11 @@
|
|||
{#if (Array.isArray(fieldState?.value) && !fieldState?.value?.length) || !fieldState?.value}
|
||||
<ActionButton
|
||||
fullWidth
|
||||
{disabled}
|
||||
on:click={() => {
|
||||
modal.show()
|
||||
if (!$builderStore.inBuilder) {
|
||||
modal.show()
|
||||
}
|
||||
}}
|
||||
>
|
||||
Add signature
|
||||
|
|
Loading…
Reference in New Issue