@bigbinary/neetoui 5.2.18 → 5.2.19

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/formik.cjs.js CHANGED
@@ -18043,7 +18043,7 @@ var Input$2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
18043
18043
  };
18044
18044
  var handleChange = rejectCharsRegex ? handleRegexChange : onChange;
18045
18045
  var handleOnBlur = function handleOnBlur(e) {
18046
- if (!disableTrimOnBlur) {
18046
+ if (!disableTrimOnBlur && typeof value === "string") {
18047
18047
  e.target.value = value.trim();
18048
18048
  handleChange(e);
18049
18049
  }