@ -12,7 +12,6 @@ import {
|
||||
|
||||
import {isPresent, StringWrapper, NumberWrapper} from 'angular2/src/core/facade/lang';
|
||||
import {ObservableWrapper, EventEmitter} from 'angular2/src/core/facade/async';
|
||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {Event, KeyboardEvent} from 'angular2/src/core/facade/browser';
|
||||
|
||||
import {MdRadioDispatcher} from 'angular2_material/src/components/radio/radio_dispatcher';
|
||||
@ -111,7 +110,7 @@ export class MdRadioGroup implements OnChanges {
|
||||
// child radio buttons and select the one that has a corresponding value (if any).
|
||||
if (isPresent(this.value) && this.value != '') {
|
||||
this.radioDispatcher.notify(this.name_);
|
||||
ListWrapper.forEach(this.radios_, (radio) => {
|
||||
this.radios_.forEach(radio => {
|
||||
if (radio.value == this.value) {
|
||||
radio.checked = true;
|
||||
this.selectedRadioId = radio.id;
|
||||
|
Reference in New Issue
Block a user