ywana-core8 0.0.450 → 0.0.453

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.
@@ -5241,8 +5241,11 @@ var FieldViewer = function FieldViewer(props) {
5241
5241
  item = field.item,
5242
5242
  label = field.label,
5243
5243
  _field$visible = field.visible,
5244
- visible = _field$visible === void 0 ? true : _field$visible;
5244
+ visible = _field$visible === void 0 ? true : _field$visible,
5245
+ optional = field.optional;
5245
5246
  if (!visible) return null;
5247
+ console.log("FieldViewer Optional", field, value, optional && value === null);
5248
+ if (optional && value === null) return null;
5246
5249
 
5247
5250
  switch (type) {
5248
5251
  case TYPES.STRING: