@undp/carbon-library 1.0.292-CARBON-425.0 → 1.0.292

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -6828,9 +6828,7 @@ var AddNewCompanyComponent = function (props) {
6828
6828
  }); },
6829
6829
  },
6830
6830
  ] },
6831
- React.createElement(InputNumber, { style: { width: "100%" }, size: "large", min: 0, max: 99, formatter: function (value) {
6832
- return "".concat(value ? Math.round(value) : "", "%");
6833
- }, parser: function (value) { return value.replace("%", ""); } })))))))),
6831
+ React.createElement(InputNumber, { style: { width: "100%" }, size: "large", min: 1, max: 99, formatter: function (value) { return "".concat(Math.round(value), "%"); }, parser: function (value) { return value.replace("%", ""); } })))))))),
6834
6832
  React.createElement("div", { className: "steps-actions" }, isUpdate ? (React.createElement(Row, null,
6835
6833
  React.createElement(Button, { loading: loading, onClick: onCancel }, t("addCompany:cancel")),
6836
6834
  React.createElement(Button, { loading: loading, className: "mg-left-1", type: "primary", htmlType: "submit" }, t("addCompany:submit")))) : (current === 0 && (React.createElement(Button, { type: "primary", htmlType: "submit" }, t("addCompany:next")))))))));