@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.esm.js CHANGED
@@ -27151,14 +27151,14 @@ var FormInput = function FormInput(_ref15) {
27151
27151
  autoComplete: autocompleteValue,
27152
27152
  required: isRequired
27153
27153
  // Additional handler to detect autofilled values
27154
- }, autocompleteValue && {
27155
- onFocus: function onFocus(e) {
27156
- if (!isFocused) {
27157
- var _e$target;
27158
- setValue((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value);
27159
- setIsFocused(true);
27160
- }
27161
- }
27154
+ // {...(autocompleteValue && {
27155
+ // onFocus: e => {
27156
+ // if (!isFocused) {
27157
+ // setValue(e.target?.value);
27158
+ // setIsFocused(true);
27159
+ // }
27160
+ // }
27161
+ // })}
27162
27162
  }, props)) : /*#__PURE__*/React.createElement(InputField, _extends({
27163
27163
  "aria-labelledby": createIdFromString(labelTextWhenNoError),
27164
27164
  "aria-describedby": createIdFromString(labelTextWhenNoError, "error message"),