@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/esm/index.js CHANGED
@@ -1177,7 +1177,7 @@ var AddNewCompanyComponent = function (props) {
1177
1177
  },
1178
1178
  ] },
1179
1179
  React.createElement(PhoneInput, { placeholder: "Phone number", international: true, value: formatPhoneNumberIntl(contactNoInput), defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })),
1180
- regionField && (React.createElement(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: [
1180
+ regionField && (React.createElement(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: [
1181
1181
  {
1182
1182
  required: true,
1183
1183
  message: "".concat(t("region"), " ").concat(t("isRequired")),