intelicoreact 1.1.54 → 1.1.56
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.
|
@@ -74,6 +74,8 @@ function InputMask3() {
|
|
|
74
74
|
withHiddenMode = _ref$withHiddenMode === void 0 ? false : _ref$withHiddenMode,
|
|
75
75
|
_ref$maxHiddenIndex = _ref.maxHiddenIndex,
|
|
76
76
|
maxHiddenIndex = _ref$maxHiddenIndex === void 0 ? -1 : _ref$maxHiddenIndex,
|
|
77
|
+
_ref$isValueHiddenDef = _ref.isValueHiddenDefault,
|
|
78
|
+
isValueHiddenDefault = _ref$isValueHiddenDef === void 0 ? false : _ref$isValueHiddenDef,
|
|
77
79
|
icon = _ref.icon,
|
|
78
80
|
showIcon = _ref.showIcon,
|
|
79
81
|
isIconLeft = _ref.isIconLeft,
|
|
@@ -150,7 +152,7 @@ function InputMask3() {
|
|
|
150
152
|
selectedLength = _useState8[0],
|
|
151
153
|
setSelectedLength = _useState8[1];
|
|
152
154
|
|
|
153
|
-
var _useState9 = (0, _react.useState)(
|
|
155
|
+
var _useState9 = (0, _react.useState)(isValueHiddenDefault),
|
|
154
156
|
_useState10 = (0, _slicedToArray2.default)(_useState9, 2),
|
|
155
157
|
isValueHidden = _useState10[0],
|
|
156
158
|
setIsValueHidden = _useState10[1];
|
|
@@ -664,7 +666,8 @@ function InputMask3() {
|
|
|
664
666
|
|
|
665
667
|
setError(false);
|
|
666
668
|
var values = [getClearInnerValueAsString(), getInputValue({
|
|
667
|
-
noLastTyppedCharIndexCheck: true
|
|
669
|
+
noLastTyppedCharIndexCheck: true,
|
|
670
|
+
noHide: true
|
|
668
671
|
})];
|
|
669
672
|
if (returnMaskedValue) values.reverse();
|
|
670
673
|
|