ywana-core8 0.0.871 → 0.0.872

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
@@ -5719,6 +5719,9 @@ var MultiSelectionEditor = function MultiSelectionEditor(_ref10) {
5719
5719
  }
5720
5720
  if (onChange) onChange(id, value);
5721
5721
  }
5722
+ function changeAll(v) {
5723
+ if (onChange) onChange(id, [v]);
5724
+ }
5722
5725
  function buildOptions() {
5723
5726
  var opts = typeof options === 'function' ? options(field, content) : options;
5724
5727
  return opts;
@@ -5741,7 +5744,7 @@ var MultiSelectionEditor = function MultiSelectionEditor(_ref10) {
5741
5744
  value: checked,
5742
5745
  label: option.label,
5743
5746
  onChange: function onChange() {
5744
- return change(option.value);
5747
+ return changeAll(option.value);
5745
5748
  }
5746
5749
  });
5747
5750
  default: