This commit is contained in:
Adria Navarro 2024-03-26 14:54:17 +01:00
parent d74af11230
commit 47ab920bd1
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
let fieldState let fieldState
let fieldApi let fieldApi
$: isSingle = schema?.type === FieldType.ATTACHMENT_SINGLE $: isSingle = type === FieldType.ATTACHMENT_SINGLE
$: value = $: value =
isSingle && !Array.isArray(fieldState?.value) isSingle && !Array.isArray(fieldState?.value)
? fieldState?.value ? fieldState?.value