ywana-core8 0.0.414 → 0.0.417

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.umd.js CHANGED
@@ -1850,7 +1850,6 @@
1850
1850
  break;
1851
1851
  }
1852
1852
 
1853
- console.log(value, format);
1854
1853
  return /*#__PURE__*/React__default["default"].createElement("div", {
1855
1854
  className: "field-editor string-viewer"
1856
1855
  }, text);
@@ -4151,12 +4150,14 @@
4151
4150
  });
4152
4151
 
4153
4152
  case FORMATS.TOKENS:
4153
+ var init = Array.isArray(value) ? value : [];
4154
4154
  return /*#__PURE__*/React__default["default"].createElement(TokenField, {
4155
4155
  id: id,
4156
4156
  label: label,
4157
4157
  onChange: change,
4158
4158
  readOnly: !editable,
4159
- options: buildOptions()
4159
+ options: buildOptions(),
4160
+ init: init
4160
4161
  });
4161
4162
 
4162
4163
  default: