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.
package/dist/index.umd.js CHANGED
@@ -5244,8 +5244,11 @@
5244
5244
  item = field.item,
5245
5245
  label = field.label,
5246
5246
  _field$visible = field.visible,
5247
- visible = _field$visible === void 0 ? true : _field$visible;
5247
+ visible = _field$visible === void 0 ? true : _field$visible,
5248
+ optional = field.optional;
5248
5249
  if (!visible) return null;
5250
+ console.log("FieldViewer Optional", field, value, optional && value === null);
5251
+ if (optional && value === null) return null;
5249
5252
 
5250
5253
  switch (type) {
5251
5254
  case TYPES.STRING: