@etsoo/materialui 1.1.89 → 1.1.90

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.
@@ -26,6 +26,9 @@ export const IntInputField = React.forwardRef((props, ref) => {
26
26
  else
27
27
  setLocalValue(newValue);
28
28
  }
29
+ else {
30
+ setLocalValue(value);
31
+ }
29
32
  };
30
33
  React.useEffect(() => {
31
34
  setValue(value, undefined, true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.1.89",
3
+ "version": "1.1.90",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -109,6 +109,8 @@ export const IntInputField = React.forwardRef<
109
109
 
110
110
  if (newValue === true || newValue === undefined) setLocalValue(value);
111
111
  else setLocalValue(newValue);
112
+ } else {
113
+ setLocalValue(value);
112
114
  }
113
115
  };
114
116