diginet-core-ui 1.4.51-beta.1 → 1.4.51-beta.3

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.
@@ -815,9 +815,11 @@ const DateRangePicker = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, refe
815
815
  };
816
816
  }, []);
817
817
  useEffect(() => {
818
- if (value) {
819
- update(value);
818
+ update(value);
819
+ if (value && value[0] && value[1]) {
820
820
  closePicker();
821
+ } else {
822
+ ipRef.current.value = '';
821
823
  }
822
824
  }, [value]);
823
825
  useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diginet-core-ui",
3
- "version": "1.4.51-beta.1",
3
+ "version": "1.4.51-beta.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "license": "UNLICENSED",