@datorama/core 22.12.3-rc.3 → 22.12.4-rc.1

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.
@@ -13216,10 +13216,12 @@ var DatoGridFilterComponent = /** @class */ (function () {
13216
13216
  DatoGridFilterComponent.prototype.updateDateInput = function (_a) {
13217
13217
  var inRange = _a.inRange, index = _a.index;
13218
13218
  var control = this.conditions.at(index).get('value');
13219
- if (control.dirty) {
13220
- var value = control.value;
13221
- var newValue = inRange ? { from: value, to: value } : value.from;
13222
- control.patchValue(newValue);
13219
+ var value = control.value;
13220
+ if (inRange && typeof value === 'string') {
13221
+ control.patchValue({ from: value, to: value, id: 'CUSTOM' });
13222
+ }
13223
+ else if (!inRange && value && typeof value === 'object') {
13224
+ control.patchValue(value.from);
13223
13225
  }
13224
13226
  };
13225
13227
  DatoGridFilterComponent.prototype.updateNumberInput = function (_a) {
@@ -25512,7 +25514,7 @@ function fixNgLeaks() {
25512
25514
  };
25513
25515
  }
25514
25516
 
25515
- window.coreVersion = '22.13.2-rc.';
25517
+ window.coreVersion = '22.13.3-rc.';
25516
25518
 
25517
25519
  /**
25518
25520
  * @license