From eed8deca3542992dcda94d317d9120c776cf02e4 Mon Sep 17 00:00:00 2001 From: Dean Date: Mon, 15 Apr 2024 18:18:15 +0100 Subject: [PATCH] Fix to ensure signature action button is disabled in the builder and preview, if configured --- .../client/src/components/app/forms/SignatureField.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/app/forms/SignatureField.svelte b/packages/client/src/components/app/forms/SignatureField.svelte index 3a12fc3525..3041b93ca7 100644 --- a/packages/client/src/components/app/forms/SignatureField.svelte +++ b/packages/client/src/components/app/forms/SignatureField.svelte @@ -104,8 +104,11 @@ {#if (Array.isArray(fieldState?.value) && !fieldState?.value?.length) || !fieldState?.value} { - modal.show() + if (!$builderStore.inBuilder) { + modal.show() + } }} > Add signature