@undp/carbon-library 1.0.274-CARBON-363.19 → 1.0.274-CARBON-363.27

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -26705,6 +26705,9 @@ var EditableCell = function (_a) {
26705
26705
  else if (+trimValue === 0) {
26706
26706
  throw new Error(t("ndc:kpiGreaterThanZero"));
26707
26707
  }
26708
+ else if (trimValue.toString().length > 8) {
26709
+ throw new Error(t("ndc:kpiMaxLength"));
26710
+ }
26708
26711
  }
26709
26712
  else {
26710
26713
  throw new Error("".concat(title, " ").concat(t("ndc:isRequired")));