@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/esm/index.js CHANGED
@@ -26685,6 +26685,9 @@ var EditableCell = function (_a) {
26685
26685
  else if (+trimValue === 0) {
26686
26686
  throw new Error(t("ndc:kpiGreaterThanZero"));
26687
26687
  }
26688
+ else if (trimValue.toString().length > 8) {
26689
+ throw new Error(t("ndc:kpiMaxLength"));
26690
+ }
26688
26691
  }
26689
26692
  else {
26690
26693
  throw new Error("".concat(title, " ").concat(t("ndc:isRequired")));