diff --git a/packages/client/src/components/app/forms/AttachmentField.svelte b/packages/client/src/components/app/forms/AttachmentField.svelte index 63f6d2b39b..b38d305a7d 100644 --- a/packages/client/src/components/app/forms/AttachmentField.svelte +++ b/packages/client/src/components/app/forms/AttachmentField.svelte @@ -20,7 +20,7 @@ let fieldState let fieldApi - $: isSingle = schema?.type === FieldType.ATTACHMENT_SINGLE + $: isSingle = type === FieldType.ATTACHMENT_SINGLE $: value = isSingle && !Array.isArray(fieldState?.value) ? fieldState?.value