Skip to content

Commit

Permalink
fix(radio): only fire group change if there is a group (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn authored Oct 27, 2016
1 parent d83b3e0 commit 065469a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/radio/radio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,10 @@ export class MdRadioButton implements OnInit {
event.stopPropagation();

this.checked = true;
this.radioGroup._controlValueAccessorChangeFn(this.value);
this._emitChangeEvent();

if (this.radioGroup) {
this.radioGroup._controlValueAccessorChangeFn(this.value);
this.radioGroup._touch();
}
}
Expand Down

0 comments on commit 065469a

Please sign in to comment.