@invoicebox/ui 0.1.0-alpha.191 → 0.1.0-alpha.194
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.
|
@@ -108,6 +108,7 @@ var DateInput = exports.DateInput = function DateInput(_ref) {
|
|
|
108
108
|
inFocus: inFocus,
|
|
109
109
|
label: label
|
|
110
110
|
}, /*#__PURE__*/_react["default"].createElement(S.InputWrapper, null, /*#__PURE__*/_react["default"].createElement(_PureInput.PureInput, _extends({
|
|
111
|
+
onClick: handleTrigger,
|
|
111
112
|
ref: inputRef,
|
|
112
113
|
hasError: hasError,
|
|
113
114
|
inFocus: inFocus,
|
|
@@ -176,8 +176,10 @@ var PhoneInput = exports.PhoneInput = function PhoneInput(_ref) {
|
|
|
176
176
|
hasError: hasError || (isFirstBlur ? false : isHaveInputError),
|
|
177
177
|
inFocus: inFocus,
|
|
178
178
|
name: name,
|
|
179
|
-
paddingLeft: isHaveSelectCountries ? 75 : 18
|
|
180
|
-
|
|
179
|
+
paddingLeft: isHaveSelectCountries ? 75 : 18
|
|
180
|
+
// for disable autocomplete
|
|
181
|
+
,
|
|
182
|
+
autoComplete: 'new-password',
|
|
181
183
|
inputMode: "numeric"
|
|
182
184
|
}, _constants.SIZE_PARAMS_MAP[size], pureInputProps)))));
|
|
183
185
|
};
|