From f78655c5d09c8b925a65a970af7a5d42a2227692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Fri, 16 Feb 2024 11:12:26 +0300 Subject: [PATCH] Fixed #14819 - Checkbox | Disabled checkboxes appear writable until they receive focus --- src/app/components/checkbox/checkbox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/checkbox/checkbox.ts b/src/app/components/checkbox/checkbox.ts index 23948976908..8bf05b089da 100755 --- a/src/app/components/checkbox/checkbox.ts +++ b/src/app/components/checkbox/checkbox.ts @@ -295,8 +295,8 @@ export class Checkbox implements ControlValueAccessor { setDisabledState(val: boolean): void { setTimeout(() => { this.disabled = val; + this.cd.markForCheck(); }); - this.cd.markForCheck(); } checked() {