ywana-core8 0.0.512 → 0.0.515

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
@@ -1828,11 +1828,12 @@
1828
1828
  var fields = Object.values(item).filter(function (field) {
1829
1829
  return field.column === true;
1830
1830
  });
1831
+ var locale = window.navigator.userLanguage || window.navigator.language;
1831
1832
  return fields.map(function (field) {
1832
1833
  var text = value[field.id];
1833
1834
 
1834
1835
  if (field.format) {
1835
- switch (format) {
1836
+ switch (field.format) {
1836
1837
  case FORMATS.COLOR:
1837
1838
  text = /*#__PURE__*/React__default["default"].createElement("input", {
1838
1839
  type: "color",