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.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +4 -1
package/dist/index.modern.js
CHANGED
@@ -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", {
|