From bf1f669ae8edf4ac2a89b24b8ba72aae46e41976 Mon Sep 17 00:00:00 2001 From: navedqb <109583873+navedqb@users.noreply.github.com> Date: Wed, 21 Aug 2024 12:52:51 +0530 Subject: [PATCH] fixed MultiSelect template demo --- src/app/showcase/doc/multiselect/templatedoc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/showcase/doc/multiselect/templatedoc.ts b/src/app/showcase/doc/multiselect/templatedoc.ts index 9fd37524d41..f3b888088b6 100644 --- a/src/app/showcase/doc/multiselect/templatedoc.ts +++ b/src/app/showcase/doc/multiselect/templatedoc.ts @@ -151,7 +151,7 @@ export class MultiSelectTemplateDemo implements OnInit { selectedCountries!: Country[]; - constructor() { + ngOnInit() { this.countries = [ { name: 'Australia', code: 'AU' }, { name: 'Brazil', code: 'BR' },