@pdg/react-form 1.0.42 → 1.0.43
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/dist/index.js
CHANGED
|
@@ -10707,6 +10707,10 @@ styleInject(css_248z$4);var CustomDatePicker = React__default["default"].forward
|
|
|
10707
10707
|
return initValue ? initValue : [null, null];
|
|
10708
10708
|
}, [initValue]))[0];
|
|
10709
10709
|
var _b = React.useState(null), activeMonthValue = _b[0], setActiveMonthValue = _b[1];
|
|
10710
|
+
// Effect ------------------------------------------------------------------------------------------------------------
|
|
10711
|
+
React.useEffect(function () {
|
|
10712
|
+
setActiveMonthValue(null);
|
|
10713
|
+
}, [selectType]);
|
|
10710
10714
|
//--------------------------------------------------------------------------------------------------------------------
|
|
10711
10715
|
var leftArrowOnClickRef = React.useRef();
|
|
10712
10716
|
var rightArrowOnClickRef = React.useRef();
|