@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.js CHANGED
@@ -18013,7 +18013,7 @@ var Input$2 = /*#__PURE__*/forwardRef$1(function (_ref, ref) {
18013
18013
  };
18014
18014
  var handleChange = rejectCharsRegex ? handleRegexChange : onChange;
18015
18015
  var handleOnBlur = function handleOnBlur(e) {
18016
- if (!disableTrimOnBlur) {
18016
+ if (!disableTrimOnBlur && typeof value === "string") {
18017
18017
  e.target.value = value.trim();
18018
18018
  handleChange(e);
18019
18019
  }