ywana-core8 0.0.451 → 0.0.454

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -5252,8 +5252,8 @@ var FieldViewer = function FieldViewer(props) {
5252
5252
  visible = _field$visible === void 0 ? true : _field$visible,
5253
5253
  optional = field.optional;
5254
5254
  if (!visible) return null;
5255
- console.log("FieldViewer Optional", field, optional && value === null);
5256
- if (optional && value === null) return null;
5255
+ console.log("FieldViewer Optional", field, value, optional && value === null);
5256
+ if (optional && value === undefined) return null;
5257
5257
 
5258
5258
  switch (type) {
5259
5259
  case TYPES.STRING: