Fixing coercion of null to empty string for options fields.
This commit is contained in:
parent
468ee7ac0c
commit
641fd42686
|
@ -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]: {
|
||||||
|
|
Loading…
Reference in New Issue