Kendo's Angular components that have optional inputs are not built correctly.
For example on the `kendo-avatar`component the input `imageSrc` is defined like this:
@Input() imageSrc: string;
however, since it is an optional input it should be defined like this:
@Input() imageSrc?: string;
// or
@Input() imageSrc: string | undefined;
Hi Yanmario,
I don't believe labeling this as a "Feature Request" is correct. This is an incorrect implementation of Angular components and forces anyone using `strictTemplates` to unsafely lie to the compiler about a value existing when it is actually undefined by adding a `!` to the input value.
Thanks,
Landon
Hi Landon,
Your observations are correct. The team has an internal issue to improve support for strictTemplates. The status will be updated to "Unplanned" and the type to "Feature Request."
Have a wonderful weekened.
Regards,
Yanmario
Progress Telerik
Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!