@itilite/iui-user-management 0.4.58 → 0.4.60

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.
@@ -4940,6 +4940,7 @@ var ErrorMessages = {
4940
4940
  passport_expiry_date: 'Please enter passport expiry date.',
4941
4941
  passport_photo: 'Please attach passport photo.',
4942
4942
  travel_docs: 'Please attach travel docs.',
4943
+ products: 'Please select atleast one product access.',
4943
4944
  only_cards_products: 'Select at least one additional product if opting for cards.',
4944
4945
  none_products: 'Select at least one product. If opting for cards, please choose at least one additional product.'
4945
4946
  };
@@ -5119,7 +5120,7 @@ var UserAddEdit = function UserAddEdit(props) {
5119
5120
  if (_errorArray2.indexOf('products') === -1) {
5120
5121
  _errorArray2.push('products');
5121
5122
  }
5122
- _errorMsgs2.products = ErrorMessages.none_products;
5123
+ _errorMsgs2.products = ErrorMessages.products;
5123
5124
  setErrorArray(_errorArray2);
5124
5125
  setErrorMsgs(_errorMsgs2);
5125
5126
  var _el = document.getElementById('products');
@@ -6939,7 +6940,7 @@ var UserAddEdit = function UserAddEdit(props) {
6939
6940
  md: 4
6940
6941
  }, /*#__PURE__*/React.createElement(IUILabel, {
6941
6942
  label: "Product access",
6942
- description: isProfile ? '' : 'Please select a product. Cards are available along with at least one additional product.',
6943
+ description: isProfile ? '' : 'Select at least one product',
6943
6944
  headerType: true,
6944
6945
  required: true
6945
6946
  })), /*#__PURE__*/React.createElement(IUIGrid, {