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