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.cjs CHANGED
@@ -10503,10 +10503,11 @@ var DynamicForm = function DynamicForm(props) {
10503
10503
  className: "dynamic-form"
10504
10504
  }, fields.map(function (field) {
10505
10505
  var id = field.id;
10506
+ var value = values[id] || field["default"];
10506
10507
  return /*#__PURE__*/React__default["default"].createElement(DynamicFormField, {
10507
10508
  key: id,
10508
10509
  field: field,
10509
- value: values[id],
10510
+ value: value,
10510
10511
  onChange: change
10511
10512
  });
10512
10513
  }));