Replace template in child component

I would expect to be able to put a replaceable part within a replace-part template so a component can provide ability to override a child component replaceable template whilst also providing it’s own default. However, this doesn’t appear to work:

Is there a recommend way to achieve the same thing? Or will I have to duplicate the nested view/view-model inside the parent component?


It is currently requested here

Not supported at the moment, so the suggestion for the time being is to replaceable all the way

Thanks. What do you mean by replaceable all the way? How can I avoid having to duplicate the view and view model of the child control in the parent?

1 Like