Skip to content

Commit 637da60

Browse files
committed
fix(checkbox): add disabled getter
1 parent 377899c commit 637da60

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/components/src/checkbox/checkbox.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ export class CheckboxComponent implements ControlValueAccessor {
4747
return this.isChecked;
4848
}
4949

50+
public get disabled(): boolean {
51+
return this.isDisabled;
52+
}
53+
5054
public isChecked: boolean = false;
5155
public isDisabled: boolean = false;
5256

0 commit comments

Comments
 (0)