TypeError on ng-radio-group
Hi, i have a radio-group bound to a boolean value.
When the page is loaded I am getting.. TypeError: Cannot read property '$viewValue' of undefined
this is related to line 4484 of the latest master build..
getViewValue: function() {
return this._ngModelCtrl.$viewValue;
},
Once loaded the model is working correctly, but the init seems to be running before the model is ready. not sure of this is a bug in my code (its bound to an angularFire object), but looks like there should be a check in this function to confirm _ngModelCtrl is defined?
Which version of the code? We pushed an update to radio buttons yesterday: https://github.com/angular/material/pull/1123#event-215933865
this is from today's buid.. v0.7.0-rc2-master-9a0b3c3
@hodeyp - do you have a Plunkr or CodePen that demonstrates this issue? We will include a unit test (based on your Plunkr) to verify a fix.
does this work? http://plnkr.co/edit/tlWEJK?p=info
:+1: