From b50cd8aa579293b87e8e550cd111f6efd986efb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Mon, 5 Feb 2024 16:59:20 +0300 Subject: [PATCH] Fixed #14662 - TreeSelect | When using reactive form disabled input doesn't affect --- src/app/components/treeselect/treeselect.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/treeselect/treeselect.ts b/src/app/components/treeselect/treeselect.ts index cc0e73959a1..cca2a6fc732 100755 --- a/src/app/components/treeselect/treeselect.ts +++ b/src/app/components/treeselect/treeselect.ts @@ -886,7 +886,9 @@ export class TreeSelect implements AfterContentInit { } setDisabledState(val: boolean): void { - this.disabled = val; + setTimeout(() => { + this.disabled = val; + }); this.cd.markForCheck(); }