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 b4644f0 commit 4cc4428Copy full SHA for 4cc4428
src/lib/checkbox/checkbox.ts
@@ -91,17 +91,13 @@ export class MdCheckbox implements ControlValueAccessor {
91
@Input() id: string = `md-checkbox-${++nextId}`;
92
93
/** 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); }
+ @Input() @BooleanFieldValue() disableRipple: boolean = false;
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