Skip to content

Commit 6b8e9c9

Browse files
committed
refactor(checkbox): implement setDisabledState method
1 parent 198f77b commit 6b8e9c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

projects/igniteui-angular/src/lib/checkbox/checkbox.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,11 @@ export class IgxCheckboxComponent implements ControlValueAccessor, EditorProvide
454454
this._onTouchedCallback = fn;
455455
}
456456

457+
/** @hidden @internal */
458+
public setDisabledState(isDisabled: boolean) {
459+
this.disabled = isDisabled;
460+
}
461+
457462
/** @hidden @internal */
458463
public getEditElement() {
459464
return this.nativeCheckbox.nativeElement;

0 commit comments

Comments
 (0)