@thecb/components 10.9.0-beta.4 → 10.9.0-beta.5
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.cjs.js
CHANGED
|
@@ -27159,14 +27159,14 @@ var FormInput = function FormInput(_ref15) {
|
|
|
27159
27159
|
autoComplete: autocompleteValue,
|
|
27160
27160
|
required: isRequired
|
|
27161
27161
|
// Additional handler to detect autofilled values
|
|
27162
|
-
|
|
27163
|
-
onFocus:
|
|
27164
|
-
|
|
27165
|
-
|
|
27166
|
-
|
|
27167
|
-
|
|
27168
|
-
|
|
27169
|
-
}
|
|
27162
|
+
// {...(autocompleteValue && {
|
|
27163
|
+
// onFocus: e => {
|
|
27164
|
+
// if (!isFocused) {
|
|
27165
|
+
// setValue(e.target?.value);
|
|
27166
|
+
// setIsFocused(true);
|
|
27167
|
+
// }
|
|
27168
|
+
// }
|
|
27169
|
+
// })}
|
|
27170
27170
|
}, props)) : /*#__PURE__*/React__default.createElement(InputField, _extends({
|
|
27171
27171
|
"aria-labelledby": createIdFromString(labelTextWhenNoError),
|
|
27172
27172
|
"aria-describedby": createIdFromString(labelTextWhenNoError, "error message"),
|