Skip to content

Commit

Permalink
Fixed #14693 - Checkbox | Disabled property does not work when it's u…
Browse files Browse the repository at this point in the history
…sed with formControlName
  • Loading branch information
mehmetcetin01140 committed Feb 2, 2024
1 parent 239b86c commit 49fc81f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/checkbox/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ export class Checkbox implements ControlValueAccessor {
}

setDisabledState(val: boolean): void {
this.disabled = val;
setTimeout(() => {
this.disabled = val;
});
this.cd.markForCheck();
}

Expand Down

0 comments on commit 49fc81f

Please sign in to comment.