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 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