ywana-core8 0.0.419 → 0.0.420
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 +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +0 -1
- package/src/domain/ContentEditor.test.js +0 -1
- package/src/html/tokenfield.js +1 -1
package/dist/index.umd.js
CHANGED
@@ -1917,7 +1917,7 @@
|
|
1917
1917
|
}
|
1918
1918
|
|
1919
1919
|
function changeDropDown(fid, value) {
|
1920
|
-
var next = tokens.concat(value);
|
1920
|
+
var next = Array.isArray(tokens) ? tokens.concat(value) : [value];
|
1921
1921
|
if (onChange) onChange(id, next);
|
1922
1922
|
setValue('');
|
1923
1923
|
}
|
@@ -4099,7 +4099,6 @@
|
|
4099
4099
|
Editor = field.Editor;
|
4100
4100
|
|
4101
4101
|
function change(id, value) {
|
4102
|
-
console.log(id, value);
|
4103
4102
|
if (onChange) onChange(id, value);
|
4104
4103
|
}
|
4105
4104
|
|