x-ui-design 0.5.59 → 0.5.61

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.esm.js CHANGED
@@ -2910,11 +2910,8 @@ const InputComponent = ({
2910
2910
  }
2911
2911
  inputRef.current?.setSelectionRange(nextCaret, nextCaret);
2912
2912
  });
2913
- if (rawInput === mask) {
2914
- rawInput = '';
2915
- }
2916
- setMaskValue(rawInput);
2917
2913
  }
2914
+ setMaskValue(rawInput);
2918
2915
  const eventWithMaskedValue = {
2919
2916
  ...e,
2920
2917
  target: {
@@ -2957,7 +2954,7 @@ const InputComponent = ({
2957
2954
  type: iconRenderVisible ? 'text' : 'password'
2958
2955
  } : {}, {
2959
2956
  disabled: disabled,
2960
- value: maskValue ?? value,
2957
+ value: maskValue,
2961
2958
  onChange: handleChange,
2962
2959
  onKeyDown: handleOnKeyDown,
2963
2960
  className: clsx([prefixCls, className])