1
0
Fork 0
mirror of synced 2024-09-18 10:20:11 +12:00

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

View file

@ -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