@energycap/components 0.45.2-multi-select-component.20260304-1639 → 0.45.2-multi-select-component.20260304-1654
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.
|
@@ -8910,6 +8910,11 @@ class MultiselectComponent extends FormControlBase {
|
|
|
8910
8910
|
this.selectableItems = MenuComponent.getSelectableItems(this.filteredOptions);
|
|
8911
8911
|
this.highlightedItemIndex = -1;
|
|
8912
8912
|
this.highlightedItem = null;
|
|
8913
|
+
// Keep selectAllDependentGroup in sync with the visible items so that the
|
|
8914
|
+
// "select all" checkbox only toggles controls that are currently shown.
|
|
8915
|
+
this.selectAllDependentGroup = {
|
|
8916
|
+
controls: this.getVisibleSelectableItems().map(item => this.getCheckboxFormControl(item))
|
|
8917
|
+
};
|
|
8913
8918
|
}
|
|
8914
8919
|
/**
|
|
8915
8920
|
* Navigate the options list using arrow keys
|