Skip to content

Commit 7178df1

Browse files
committed
fix test
1 parent 79261eb commit 7178df1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/radio/radio.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ export class MdRadioGroup extends _MdRadioGroupMixinBase
185185
set disabled(value) {
186186
this._disabled = value;
187187
if (this._radios) {
188+
// Update radios disabled state
188189
this._radios.forEach((r) => r._groupValueChanged());
189190
}
190191
}
@@ -400,9 +401,10 @@ export class MdRadioButton implements OnInit, AfterViewInit, OnDestroy {
400401
get disabled(): boolean {
401402
return this._disabled || (this.radioGroup != null && this.radioGroup.disabled);
402403
}
403-
404404
set disabled(value: boolean) {
405405
this._disabled = coerceBooleanProperty(value);
406+
// Update rippleDisabled
407+
this._changeDetector.markForCheck();
406408
}
407409

408410
/**

0 commit comments

Comments
 (0)