@undp/carbon-library 1.0.23 → 1.0.24
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -1197,7 +1197,7 @@ var AddNewCompanyComponent = function (props) {
|
|
1197
1197
|
},
|
1198
1198
|
] },
|
1199
1199
|
React.createElement(PhoneInput, { placeholder: "Phone number", international: true, value: PhoneInput.formatPhoneNumberIntl(contactNoInput), defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })),
|
1200
|
-
regionField && (React.createElement(antd.Form.Item, { label: t("region"), name: "regions", initialValue: (_h = state === null || state === void 0 ? void 0 : state.record) === null || _h === void 0 ? void 0 : _h.
|
1200
|
+
regionField && (React.createElement(antd.Form.Item, { label: t("region"), name: "regions", initialValue: (_h = state === null || state === void 0 ? void 0 : state.record) === null || _h === void 0 ? void 0 : _h.regions, rules: [
|
1201
1201
|
{
|
1202
1202
|
required: true,
|
1203
1203
|
message: "".concat(t("region"), " ").concat(t("isRequired")),
|