ywana-core8 0.0.814 → 0.0.816

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.
@@ -7238,6 +7238,8 @@ var CollectionEditor$1 = function CollectionEditor(props) {
7238
7238
  });
7239
7239
  };
7240
7240
 
7241
+ console.log("SAVE", form);
7242
+
7241
7243
  var _temp6 = function () {
7242
7244
  if (patch) {
7243
7245
  return Promise.resolve(pageContext.patch(form.id, form)).then(function () {});
@@ -7317,7 +7319,10 @@ var CollectionEditor$1 = function CollectionEditor(props) {
7317
7319
  }
7318
7320
 
7319
7321
  function change(next) {
7320
- setForm(next);
7322
+ setForm(function (prev) {
7323
+ console.log("CHANGE", prev, next);
7324
+ return next;
7325
+ });
7321
7326
  }
7322
7327
 
7323
7328
  function canSave() {