Open
Description
Using on
should also work with template renders.
@mumenthalers do you have an idea how this can work?
Metadata
Metadata
Assignees
Labels
No labels
Using on
should also work with template renders.
@mumenthalers do you have an idea how this can work?
Activity
edgargonzalez525 commentedon Sep 3, 2024
this issue is also present when using inputs not only outputs @timdeschryver
mumenthalers commentedon Sep 4, 2024
When providing a template rather than a component type, the
WrapperComponent
is used with it's template part overwritten.@timdeschryver I don't think it would be useful to support
on
andinputs
for templates.The main task for them is to subscribe to existing observables , and to provide values to existing inputs while providing supportive types.
I'd propose to only work with
componentProperties
when using a template as this already works perfectly for this case . Maybe the signature could be changed accordingly (to only supportcomponentProperties
when providing a template)afaik there is no other way to achieve this binding than to write component properties of the
WrapperComponent
.--> imo the
componentProperties
should definitely not be deprecatedtimdeschryver commentedon Sep 4, 2024
@mumenthalers that's a valid point, and something I was also thinking.
This is something we can do for the next major release.
Thanks for your input, it's appreciated!