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