@datorama/core 22.12.3 → 22.12.4

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.
@@ -13420,10 +13420,12 @@
13420
13420
  DatoGridFilterComponent.prototype.updateDateInput = function (_a) {
13421
13421
  var inRange = _a.inRange, index = _a.index;
13422
13422
  var control = this.conditions.at(index).get('value');
13423
- if (control.dirty) {
13424
- var value = control.value;
13425
- var newValue = inRange ? { from: value, to: value } : value.from;
13426
- control.patchValue(newValue);
13423
+ var value = control.value;
13424
+ if (inRange && typeof value === 'string') {
13425
+ control.patchValue({ from: value, to: value, id: 'CUSTOM' });
13426
+ }
13427
+ else if (!inRange && value && typeof value === 'object') {
13428
+ control.patchValue(value.from);
13427
13429
  }
13428
13430
  };
13429
13431
  DatoGridFilterComponent.prototype.updateNumberInput = function (_a) {
@@ -25682,7 +25684,7 @@
25682
25684
  };
25683
25685
  }
25684
25686
 
25685
- window.coreVersion = '22.12.3';
25687
+ window.coreVersion = '22.12.4';
25686
25688
 
25687
25689
  exports.APP_TRANSLATE = APP_TRANSLATE;
25688
25690
  exports.AceService = AceService;