@undp/carbon-library 1.0.284-CARBON-425.4 → 1.0.284-CARBON-234.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -6460,9 +6460,7 @@ var AddNewCompanyComponent = function (props) {
6460
6460
  }); },
6461
6461
  },
6462
6462
  ] },
6463
- React.createElement(InputNumber, { style: { width: "100%" }, size: "large", min: 0, max: 99, formatter: function (value) {
6464
- return "".concat(value ? Math.round(value) : "", "%");
6465
- }, parser: function (value) { return value.replace("%", ""); } })))))))),
6463
+ 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("%", ""); } })))))))),
6466
6464
  React.createElement("div", { className: "steps-actions" }, isUpdate ? (React.createElement(Row, null,
6467
6465
  React.createElement(Button, { loading: loading, onClick: onCancel }, t("addCompany:cancel")),
6468
6466
  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")))))))));