Fixing coercion of null to empty string for options fields.

This commit is contained in:
mike12345567 2021-02-25 11:26:28 +00:00
parent 468ee7ac0c
commit 641fd42686
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ const TYPE_TRANSFORM_MAP = {
}, },
[FieldTypes.OPTIONS]: { [FieldTypes.OPTIONS]: {
"": null, "": null,
[null]: "", [null]: null,
[undefined]: undefined, [undefined]: undefined,
}, },
[FieldTypes.STRING]: { [FieldTypes.STRING]: {