ywana-core8 0.0.857 → 0.0.858

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
@@ -10496,10 +10496,11 @@
10496
10496
  className: "dynamic-form"
10497
10497
  }, fields.map(function (field) {
10498
10498
  var id = field.id;
10499
+ var value = values[id] || field["default"];
10499
10500
  return /*#__PURE__*/React__default["default"].createElement(DynamicFormField, {
10500
10501
  key: id,
10501
10502
  field: field,
10502
- value: values[id],
10503
+ value: value,
10503
10504
  onChange: change
10504
10505
  });
10505
10506
  }));