gd-bs 6.6.81 → 6.6.82
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.
|
@@ -521,7 +521,7 @@ var _Dropdown = /** @class */ (function (_super) {
|
|
|
521
521
|
// Parse the items and ensure none are toggled except for the selected index
|
|
522
522
|
for (var i = 0; i < this._items.length; i++) {
|
|
523
523
|
// Ensure it's not selected
|
|
524
|
-
if (this._items[i].isSelected) {
|
|
524
|
+
if (i != idx && this._items[i].isSelected) {
|
|
525
525
|
this._items[i].toggle();
|
|
526
526
|
}
|
|
527
527
|
// Else, toggle it if it's the selected item
|