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;
Hello Landon,
Thank you for the provided feedback.
We understand your perspective, and you are correct to some extent. However, this is not classified as a bug because this configuration has never been officially supported. Adding such functionality would be considered an enhancement, as it introduces new behavior to the codebase and would represents a valuable update.
Regards,
Martin Bechev
Progress Telerik
Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!
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!