Skip to content

Commit 065469a

Browse files
authored
fix(radio): only fire group change if there is a group (#1622)
1 parent d83b3e0 commit 065469a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/radio/radio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,10 @@ export class MdRadioButton implements OnInit {
415415
event.stopPropagation();
416416

417417
this.checked = true;
418-
this.radioGroup._controlValueAccessorChangeFn(this.value);
419418
this._emitChangeEvent();
420419

421420
if (this.radioGroup) {
421+
this.radioGroup._controlValueAccessorChangeFn(this.value);
422422
this.radioGroup._touch();
423423
}
424424
}

0 commit comments

Comments
 (0)