ywana-core8 0.0.598 → 0.0.599

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
@@ -4635,8 +4635,9 @@
4635
4635
  outlined = _ref7.outlined;
4636
4636
  var id = field.id,
4637
4637
  format = field.format,
4638
- label = field.label,
4639
4638
  options = field.options,
4639
+ _field$required = field.required,
4640
+ required = _field$required === void 0 ? false : _field$required,
4640
4641
  _field$editable = field.editable,
4641
4642
  editable = _field$editable === void 0 ? true : _field$editable,
4642
4643
  _field$predictive = field.predictive,
@@ -4655,6 +4656,8 @@
4655
4656
  }
4656
4657
 
4657
4658
  function renderFormat(format, options) {
4659
+ var label = required ? field.label + " *" : field.label;
4660
+
4658
4661
  switch (format) {
4659
4662
  case FORMATS.IMG:
4660
4663
  return /*#__PURE__*/React__default["default"].createElement("div", {