Skip to content

Commit 8dbd8b4

Browse files
committed
Fix checkbox aria-label, resolves #2623
Signed-off-by: Santhiya M <[email protected]>
1 parent 7fafb7c commit 8dbd8b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checkbox/checkbox.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class Checkbox implements ControlValueAccessor, AfterViewInit {
150150

151151
// TODO: drop the `_`
152152
// tslint:disable-next-line:no-input-rename
153-
@Input("ariaLabel") _ariaLabel = "";
153+
@Input("ariaLabel") _ariaLabel: string;
154154

155155
/**
156156
* Used to set the `aria-labelledby` attribute on the input element.

0 commit comments

Comments
 (0)