@paperless/core 2.3.1 → 2.3.2

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.
@@ -3109,6 +3109,13 @@ const Datepicker = class {
3109
3109
  this._onInputTimeout = null;
3110
3110
  }
3111
3111
  this._onInputTimeout = setTimeout(() => {
3112
+ if (value.length === 0) {
3113
+ if (this._value === null) {
3114
+ return;
3115
+ }
3116
+ this._setValue(null);
3117
+ return;
3118
+ }
3112
3119
  const parsedValue = parse(value, parseFormat, new Date());
3113
3120
  if (!isValid(parsedValue) || format(parsedValue, parseFormat) !== value) {
3114
3121
  if (this.mode === 'day') {