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.umd.js CHANGED
@@ -5712,6 +5712,9 @@
5712
5712
  }
5713
5713
  if (onChange) onChange(id, value);
5714
5714
  }
5715
+ function changeAll(v) {
5716
+ if (onChange) onChange(id, [v]);
5717
+ }
5715
5718
  function buildOptions() {
5716
5719
  var opts = typeof options === 'function' ? options(field, content) : options;
5717
5720
  return opts;
@@ -5734,7 +5737,7 @@
5734
5737
  value: checked,
5735
5738
  label: option.label,
5736
5739
  onChange: function onChange() {
5737
- return change(option.value);
5740
+ return changeAll(option.value);
5738
5741
  }
5739
5742
  });
5740
5743
  default: