Fix
This commit is contained in:
parent
d74af11230
commit
47ab920bd1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue