Open vtortola opened 11 years ago
Looks like a new feature he's introduced since I last updated the plugin. Thanks for bringing it to my attention. I'll look into a fix.
... or at least it's a feature I didn't know about. Might have already existed...
Hi,
I have a part of my template that I don't want to be rendered, so I have tried with "controlsDescendantBindings" as the documentation proposes. ( http://knockoutjs.com/documentation/template-binding.html )
I have done an example where the model contains two properties, "Parent" and "Child". Parent must be shown, but Child must be not rendered.
It works neat with normal bindings: http://jsfiddle.net/vtortola/QXJVb/
It does work when using a template: http://jsfiddle.net/vtortola/uKLnm/3/
And it does not work when using KO programmatically: http://jsfiddle.net/vtortola/XGApK/
Does anybody know a workaround for this?
Thanks.