Skip to content

Commit

Permalink
Update selection type
Browse files Browse the repository at this point in the history
  • Loading branch information
ElishaSamPeterPrabhu committed Jul 4, 2024
1 parent e0e5239 commit b949db5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class ModusButtonGroup {
button.color = this.color;
button.size = this.size;
button.type = buttonType;
if (button.hasAttribute('selected') && !foundSelected && this.selectionType == DEFAULT_SELECTION_TYPE) {
if (button.hasAttribute('selected') && !foundSelected && this.selectionType == SINGLE_SELECTION_TYPE) {
button.setActive(true);
this.selectedButtons.push(button);
foundSelected = true;
Expand Down

0 comments on commit b949db5

Please sign in to comment.