Browse Source

Fixing coercion of null to empty string for options fields.

pull/4023/head
mike12345567 6 years ago
parent
commit
641fd42686
  1. 2
      packages/server/src/utilities/rowProcessor.js

2
packages/server/src/utilities/rowProcessor.js

@ -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…
Cancel
Save