Skip to content

Commit 3566f51

Browse files
Fix review comment
Co-Authored-By: youda97 <[email protected]>
1 parent 73e320f commit 3566f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/radio/radio-group.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ export class RadioGroup implements OnInit, AfterContentInit, ControlValueAccesso
309309
*/
310310
updateRadioNames() {
311311
if (this.radios) {
312-
this.radios.forEach(radio => {
312+
this.radios.forEach(radio => radio.name = this.name);
313313
radio.name = this.name;
314314
});
315315
}

0 commit comments

Comments
 (0)