@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/cjs/index.js +1 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -6849,9 +6849,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6849
6849
|
}); },
|
6850
6850
|
},
|
6851
6851
|
] },
|
6852
|
-
React.createElement(antd.InputNumber, { style: { width: "100%" }, size: "large", min:
|
6853
|
-
return "".concat(value ? Math.round(value) : "", "%");
|
6854
|
-
}, parser: function (value) { return value.replace("%", ""); } })))))))),
|
6852
|
+
React.createElement(antd.InputNumber, { style: { width: "100%" }, size: "large", min: 1, max: 99, formatter: function (value) { return "".concat(Math.round(value), "%"); }, parser: function (value) { return value.replace("%", ""); } })))))))),
|
6855
6853
|
React.createElement("div", { className: "steps-actions" }, isUpdate ? (React.createElement(antd.Row, null,
|
6856
6854
|
React.createElement(antd.Button, { loading: loading, onClick: onCancel }, t("addCompany:cancel")),
|
6857
6855
|
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")))))))));
|