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 +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +5 -9
package/dist/index.modern.js
CHANGED
@@ -5710,6 +5710,9 @@ var MultiSelectionEditor = function MultiSelectionEditor(_ref10) {
|
|
5710
5710
|
}
|
5711
5711
|
if (onChange) onChange(id, value);
|
5712
5712
|
}
|
5713
|
+
function changeAll(v) {
|
5714
|
+
if (onChange) onChange(id, [v]);
|
5715
|
+
}
|
5713
5716
|
function buildOptions() {
|
5714
5717
|
var opts = typeof options === 'function' ? options(field, content) : options;
|
5715
5718
|
return opts;
|
@@ -5732,7 +5735,7 @@ var MultiSelectionEditor = function MultiSelectionEditor(_ref10) {
|
|
5732
5735
|
value: checked,
|
5733
5736
|
label: option.label,
|
5734
5737
|
onChange: function onChange() {
|
5735
|
-
return
|
5738
|
+
return changeAll(option.value);
|
5736
5739
|
}
|
5737
5740
|
});
|
5738
5741
|
default:
|