@undp/carbon-library 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.region, rules: [
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")),