@homecode/ui 4.27.12 → 4.27.13

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.
@@ -112,7 +112,10 @@ const Input = forwardRef((props, ref) => {
112
112
  }
113
113
  };
114
114
  const handleChange = (e) => {
115
- const val = getValue(e.target.value);
115
+ let val = getValue(e.target.value);
116
+ if (isTextArea && !val.trim()) {
117
+ val = '';
118
+ }
116
119
  onChangeValue(val, e);
117
120
  };
118
121
  const onChangeValue = (value, e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homecode/ui",
3
- "version": "4.27.12",
3
+ "version": "4.27.13",
4
4
  "description": "React UI components library",
5
5
  "scripts": {
6
6
  "tests": "jest",