Skip to content

Commit 4cc4428

Browse files
committed
.
1 parent b4644f0 commit 4cc4428

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/lib/checkbox/checkbox.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,13 @@ export class MdCheckbox implements ControlValueAccessor {
9191
@Input() id: string = `md-checkbox-${++nextId}`;
9292

9393
/** Whether the ripple effect on click should be disabled. */
94-
private _disableRipple: boolean = false;
95-
96-
@Input()
97-
get disableRipple() { return this._disableRipple; }
98-
set disableRipple(v) { this._disableRipple = coerceBooleanProperty(v); }
94+
@Input() @BooleanFieldValue() disableRipple: boolean = false;
9995

10096
/** ID to be applied to the `input` element */
10197
get inputId(): string {
10298
return `input-${this.id}`;
10399
}
104-
100+
105101
private _required: boolean;
106102

107103
/** Whether the checkbox is required or not. */

0 commit comments

Comments
 (0)