We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc4428 commit d490bc2Copy full SHA for d490bc2
src/lib/checkbox/checkbox.ts
@@ -91,13 +91,17 @@ export class MdCheckbox implements ControlValueAccessor {
91
@Input() id: string = `md-checkbox-${++nextId}`;
92
93
/** Whether the ripple effect on click should be disabled. */
94
- @Input() @BooleanFieldValue() disableRipple: boolean = false;
+ private _disableRipple: boolean;
95
+
96
+ @Input()
97
+ get disableRipple(): boolean { return this._disableRipple; }
98
+ set disableRipple(value) { this._disableRipple = coerceBooleanProperty(value); }
99
100
/** ID to be applied to the `input` element */
101
get inputId(): string {
102
return `input-${this.id}`;
103
}
-
104
105
private _required: boolean;
106
107
/** Whether the checkbox is required or not. */
0 commit comments