@seafile/seafile-calendar 0.0.29-alpha44 → 0.0.29-alpha46

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.
@@ -7498,7 +7498,11 @@ var _initialiseProps = function _initialiseProps() {
7498
7498
 
7499
7499
  this.onBlur = function () {
7500
7500
  if (!_this2.state.str) {
7501
- _this2.setState({ str: Object(__WEBPACK_IMPORTED_MODULE_9__util__["c" /* formatDate */])(_this2.props.value, _this2.props.format) });
7501
+ _this2.setState({
7502
+ str: ''
7503
+ });
7504
+ _this2.props.onClear(null);
7505
+ return;
7502
7506
  }
7503
7507
  _this2.setState(function (prevState, prevProps) {
7504
7508
  return {