@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.
- package/bundles/datorama-core.umd.js +9 -8
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +1 -1
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/lib/select/select.component.js +10 -9
- package/esm5/lib/select/select.component.js +10 -9
- package/fesm2015/datorama-core.js +9 -8
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +9 -8
- package/fesm5/datorama-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -8352,7 +8352,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8352
8352
|
this.limitSelectedTo = limitSelectedTo;
|
|
8353
8353
|
if (this.options) {
|
|
8354
8354
|
this.updateDisabledState();
|
|
8355
|
-
this.cdr.markForCheck();
|
|
8356
8355
|
}
|
|
8357
8356
|
},
|
|
8358
8357
|
enumerable: true,
|
|
@@ -8582,16 +8581,18 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8582
8581
|
});
|
|
8583
8582
|
this.datoOverlay.attach({ placement: this.placement }, this._dropdownClass);
|
|
8584
8583
|
this.toggle();
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8584
|
+
if (this.hasValue) {
|
|
8585
|
+
/**
|
|
8586
|
+
* When we first open the dropdown we need to mark the
|
|
8587
|
+
* FormControl values as actives
|
|
8588
|
+
*/
|
|
8589
|
+
if (this._initialOpen) {
|
|
8590
|
+
this.markAsActive(this._model);
|
|
8591
|
+
this._initialOpen = false;
|
|
8592
|
+
}
|
|
8591
8593
|
if (this.limitSelectedTo) {
|
|
8592
8594
|
this.updateDisabledState();
|
|
8593
8595
|
}
|
|
8594
|
-
this._initialOpen = false;
|
|
8595
8596
|
}
|
|
8596
8597
|
if (this._withInfiniteScroll) {
|
|
8597
8598
|
this.activateInfiniteScroll();
|