diff --git a/src/lib/checkbox/checkbox.html b/src/lib/checkbox/checkbox.html index 8164aece205..723c3eef5e5 100644 --- a/src/lib/checkbox/checkbox.html +++ b/src/lib/checkbox/checkbox.html @@ -7,7 +7,7 @@ [checked]="checked" [disabled]="disabled" [name]="name" - [tabIndex]="tabindex" + [tabIndex]="tabIndex" [indeterminate]="indeterminate" [attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledby" diff --git a/src/lib/checkbox/checkbox.spec.ts b/src/lib/checkbox/checkbox.spec.ts index 1a325cdb76b..5133a8df58d 100644 --- a/src/lib/checkbox/checkbox.spec.ts +++ b/src/lib/checkbox/checkbox.spec.ts @@ -727,7 +727,7 @@ class MultipleCheckboxes { } @Component({ template: ` `, diff --git a/src/lib/checkbox/checkbox.ts b/src/lib/checkbox/checkbox.ts index 818b0fd5e6b..ba8fe29e96f 100644 --- a/src/lib/checkbox/checkbox.ts +++ b/src/lib/checkbox/checkbox.ts @@ -139,8 +139,8 @@ export class MdCheckbox implements ControlValueAccessor { get disabled(): boolean { return this._disabled; } set disabled(value) { this._disabled = coerceBooleanProperty(value); } - /** @docs-private */ - @Input() tabindex: number = 0; + /** Tabindex value that is passed to the underlying input element. */ + @Input() tabIndex: number = 0; /** Name value will be applied to the input element if present */ @Input() name: string = null;