@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/index.cjs.js CHANGED
@@ -20252,7 +20252,7 @@ var Input$2 = /*#__PURE__*/React$5.forwardRef(function (_ref, ref) {
20252
20252
  };
20253
20253
  var handleChange = rejectCharsRegex ? handleRegexChange : onChange;
20254
20254
  var handleOnBlur = function handleOnBlur(e) {
20255
- if (!disableTrimOnBlur) {
20255
+ if (!disableTrimOnBlur && typeof value === "string") {
20256
20256
  e.target.value = value.trim();
20257
20257
  handleChange(e);
20258
20258
  }