Closed
Description
Hi,
in the function "renderPopoverTemplate", the following line didnt work for us:
ko.renderTemplate(ko.unwrap(value.template), bindingContext.createChildContext(data), value.templateOptions, document.getElementById(id));
We had to modify it:
ko.renderTemplate(ko.unwrap(value.template).name, bindingContext.createChildContext(data), value.template, document.getElementById(id));
We changed the following:
pass ko.unwrap(value.template).name, not ko.unwrap(value.template),
pass value.template, not value.templateOptions.
Only this way, we were able to have the popover binding work with a registred template.
Kind regards,
Marco