Attachment single does require a mapping. Clearing it to an empty string is invalid. It has been changed to null

This commit is contained in:
Dean 2024-06-28 11:07:06 +01:00
parent 7d274e5a84
commit 77ca85f140
1 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,9 @@ export const TYPE_TRANSFORM_MAP: any = {
[undefined]: undefined,
parse: parseArrayString,
},
[FieldType.ATTACHMENT_SINGLE]: {
"": null,
},
[FieldType.BOOLEAN]: {
"": null,
//@ts-ignore