From e60ec6c04a45f202727df566dac50f533f789b64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Tue, 26 Dec 2023 11:10:15 +0300 Subject: [PATCH] Fixed #14424 - Multiselect | pTemplate=selectedItems layout is empty on first render using Reactive forms --- src/app/components/multiselect/multiselect.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/components/multiselect/multiselect.ts b/src/app/components/multiselect/multiselect.ts index c21a1f67e01..0fedc8091af 100755 --- a/src/app/components/multiselect/multiselect.ts +++ b/src/app/components/multiselect/multiselect.ts @@ -1096,6 +1096,7 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft } else { this.selectedOptions = [...modelValue]; } + this.cd.markForCheck(); } }); }