@itilite/iui-user-management 0.3.20 → 0.3.21

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/index.js CHANGED
@@ -2675,12 +2675,6 @@ var AddCustomFieldModal = function AddCustomFieldModal(_ref) {
2675
2675
 
2676
2676
  var addCustomFieldsLabel = function addCustomFieldsLabel(_ref2) {
2677
2677
  var _value = _ref2._value;
2678
-
2679
- if (_value.length > 100) {
2680
- setCustomLabelErr('The data being inserted exceeds the maximum allowable character limit of 100 characters.');
2681
- return;
2682
- }
2683
-
2684
2678
  setCustomLabelValue(_value);
2685
2679
  };
2686
2680
 
@@ -2695,6 +2689,11 @@ var AddCustomFieldModal = function AddCustomFieldModal(_ref) {
2695
2689
  return;
2696
2690
  }
2697
2691
 
2692
+ if (inputValue.length > 100) {
2693
+ setCustomLabelErr('The data being inserted exceeds the maximum allowable character limit of 100 characters.');
2694
+ return;
2695
+ }
2696
+
2698
2697
  setLoading(true);
2699
2698
 
2700
2699
  if (isEditMode && editId) {