Skip to content

Commit

Permalink
Merge pull request #3235 from mi6/small-radio-group-fix
Browse files Browse the repository at this point in the history
Small radio group fix
  • Loading branch information
GCHQ-Developer-530 authored Feb 24, 2025
2 parents 0c94284 + b44826e commit 8b010c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class RadioGroup {

@Listen("icSelectedChange")
changeHandler(): void {
const selectedOption = this.radioOptions.findIndex(
const selectedOption = this.radioOptions?.findIndex(
(radioOption) => radioOption.selected
);
if (selectedOption < 0) {
Expand Down

0 comments on commit 8b010c9

Please sign in to comment.