Hi Mircea,In Angular 8+ for @ViewChild decorator (and also for @ContentChild) you have to provide two metadata properties 'selector' and 'static' (the third metadata property 'read' is optional).If you access the selected element inside of ngOnInit() you have to set {static: true} and if you don't access selected element in ngOnInit() set {static: false}.So, for solving errors:1. in DoctorAvailabilityComponent change your code to @ViewChild('availabilityObj', {static: true}) public availabilityObj: ListView;2. in CalendarComponent change your code to @ViewChild('specialistObj', {static: true}) specialistObj: DialogComponent;3. in DoctorsComponent change your code to @ViewChild('specialistItemObj', {static: true}) public specialistItemObj: any;Regards/Toate cele bune,George Constantinescu
Greetings from Syncfusion Support.
Thanks for providing a detailed answer.
Regards,
Vengatesh.
Hi George,Thank you for your detailed answer.I was using { static: false } for all @ViewChild decorator and the errors were misleading me.Now it is working....waiting for Angular 9 compatibility.Regards/ Numai bine,Mircea
Hi Mircea,
Thanks for the update.
We are happy that the Angular 8
related issues were resolved.
And, we are glad that we have provided
the Angular 9 support for our controls and it can be available in the version
of v17.4.51. Kindly upgrade your package to v17.4.51 to get the
support.
Regards,
Vengatesh