@undp/carbon-library 1.0.284-CARBON-425.2 → 1.0.284-CARBON-425.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -6481,7 +6481,9 @@ var AddNewCompanyComponent = function (props) {
|
|
6481
6481
|
}); },
|
6482
6482
|
},
|
6483
6483
|
] },
|
6484
|
-
React.createElement(antd.InputNumber, { style: { width: "100%" }, size: "large", min: 0, max: 99, formatter: function (value) {
|
6484
|
+
React.createElement(antd.InputNumber, { style: { width: "100%" }, size: "large", min: 0, max: 99, formatter: function (value) {
|
6485
|
+
return "".concat(value ? Math.round(value) : "", "%");
|
6486
|
+
}, parser: function (value) { return value.replace("%", ""); } })))))))),
|
6485
6487
|
React.createElement("div", { className: "steps-actions" }, isUpdate ? (React.createElement(antd.Row, null,
|
6486
6488
|
React.createElement(antd.Button, { loading: loading, onClick: onCancel }, t("addCompany:cancel")),
|
6487
6489
|
React.createElement(antd.Button, { loading: loading, className: "mg-left-1", type: "primary", htmlType: "submit" }, t("addCompany:submit")))) : (current === 0 && (React.createElement(antd.Button, { type: "primary", htmlType: "submit" }, t("addCompany:next")))))))));
|