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