File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -112,11 +112,15 @@ export class MdCheckbox implements ControlValueAccessor {
112
112
/** Whether or not the checkbox should come before or after the label. */
113
113
@Input ( ) align : 'start' | 'end' = 'start' ;
114
114
115
+ private _disabled : boolean ;
116
+
115
117
/**
116
118
* Whether the checkbox is disabled. When the checkbox is disabled it cannot be interacted with.
117
119
* The correct ARIA attributes are applied to denote this to assistive technology.
118
120
*/
119
- @Input ( ) disabled : boolean = false ;
121
+ @Input ( )
122
+ get disabled ( ) : boolean { return this . _disabled ; }
123
+ set disabled ( value ) { this . _disabled = coerceBooleanProperty ( value ) ; }
120
124
121
125
/**
122
126
* The tabindex attribute for the checkbox. Note that when the checkbox is disabled, the attribute
You can’t perform that action at this time.
0 commit comments