@datorama/core 22.9.3 → 22.9.5

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.
@@ -8582,16 +8582,18 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8582
8582
  });
8583
8583
  this.datoOverlay.attach({ placement: this.placement }, this._dropdownClass);
8584
8584
  this.toggle();
8585
- /**
8586
- * When we first open the dropdown we need to mark the
8587
- * FormControl values as actives
8588
- */
8589
- if (this.hasValue && this._initialOpen) {
8590
- this.markAsActive(this._model);
8585
+ if (this.hasValue) {
8586
+ /**
8587
+ * When we first open the dropdown we need to mark the
8588
+ * FormControl values as actives
8589
+ */
8590
+ if (this._initialOpen) {
8591
+ this.markAsActive(this._model);
8592
+ this._initialOpen = false;
8593
+ }
8591
8594
  if (this.limitSelectedTo && this._model.length === this.limitSelectedTo) {
8592
8595
  this.updateDisabledState();
8593
8596
  }
8594
- this._initialOpen = false;
8595
8597
  }
8596
8598
  if (this._withInfiniteScroll) {
8597
8599
  this.activateInfiniteScroll();
@@ -25268,7 +25270,7 @@ function fixNgLeaks() {
25268
25270
  };
25269
25271
  }
25270
25272
 
25271
- window.coreVersion = '22.9.3';
25273
+ window.coreVersion = '22.9.5';
25272
25274
 
25273
25275
  /**
25274
25276
  * @license