From 065469ae3626bc6c99cf69100eefb30a881a7bc7 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Thu, 27 Oct 2016 10:09:58 -0700 Subject: [PATCH] fix(radio): only fire group change if there is a group (#1622) --- src/lib/radio/radio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/radio/radio.ts b/src/lib/radio/radio.ts index 60a7e387026d..740eba45e7b5 100644 --- a/src/lib/radio/radio.ts +++ b/src/lib/radio/radio.ts @@ -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(); } }