@datorama/core 22.9.2-rc.6 → 22.9.2-rc.7

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.
@@ -8551,7 +8551,6 @@
8551
8551
  this.limitSelectedTo = limitSelectedTo;
8552
8552
  if (this.options) {
8553
8553
  this.updateDisabledState();
8554
- this.cdr.markForCheck();
8555
8554
  }
8556
8555
  },
8557
8556
  enumerable: true,
@@ -8781,16 +8780,18 @@
8781
8780
  });
8782
8781
  this.datoOverlay.attach({ placement: this.placement }, this._dropdownClass);
8783
8782
  this.toggle();
8784
- /**
8785
- * When we first open the dropdown we need to mark the
8786
- * FormControl values as actives
8787
- */
8788
- if (this.hasValue && this._initialOpen) {
8789
- this.markAsActive(this._model);
8783
+ if (this.hasValue) {
8784
+ /**
8785
+ * When we first open the dropdown we need to mark the
8786
+ * FormControl values as actives
8787
+ */
8788
+ if (this._initialOpen) {
8789
+ this.markAsActive(this._model);
8790
+ this._initialOpen = false;
8791
+ }
8790
8792
  if (this.limitSelectedTo) {
8791
8793
  this.updateDisabledState();
8792
8794
  }
8793
- this._initialOpen = false;
8794
8795
  }
8795
8796
  if (this._withInfiniteScroll) {
8796
8797
  this.activateInfiniteScroll();