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.modern.js
CHANGED
@@ -1914,7 +1914,7 @@ var TokenField = function TokenField(_ref) {
|
|
1914
1914
|
}
|
1915
1915
|
|
1916
1916
|
function changeDropDown(fid, value) {
|
1917
|
-
var next = tokens.concat(value);
|
1917
|
+
var next = Array.isArray(tokens) ? tokens.concat(value) : [value];
|
1918
1918
|
if (onChange) onChange(id, next);
|
1919
1919
|
setValue('');
|
1920
1920
|
}
|
@@ -4096,7 +4096,6 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4096
4096
|
Editor = field.Editor;
|
4097
4097
|
|
4098
4098
|
function change(id, value) {
|
4099
|
-
console.log(id, value);
|
4100
4099
|
if (onChange) onChange(id, value);
|
4101
4100
|
}
|
4102
4101
|
|