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.cjs
CHANGED
@@ -1922,7 +1922,7 @@ var TokenField = function TokenField(_ref) {
|
|
1922
1922
|
}
|
1923
1923
|
|
1924
1924
|
function changeDropDown(fid, value) {
|
1925
|
-
var next = tokens.concat(value);
|
1925
|
+
var next = Array.isArray(tokens) ? tokens.concat(value) : [value];
|
1926
1926
|
if (onChange) onChange(id, next);
|
1927
1927
|
setValue('');
|
1928
1928
|
}
|
@@ -4104,7 +4104,6 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4104
4104
|
Editor = field.Editor;
|
4105
4105
|
|
4106
4106
|
function change(id, value) {
|
4107
|
-
console.log(id, value);
|
4108
4107
|
if (onChange) onChange(id, value);
|
4109
4108
|
}
|
4110
4109
|
|