I'm trying to develop my first plugin, and I'm struggling with knockout. The first version of my plugin has a sidebar update by knockout and everything is running fine, but now I want to add 2 more jinjas templates, one for sidebar and another for settings, both of then should be updated by knouckout (live content). But when I try to add any of the templates i can't bind them to knockout, and I receive this erro msg on my browser's console:
Thanks for the help. I checked your plugin and now its working. It seems that if you make any mistake on the jinja file, i.e. trying to bind one knockout variable to a property that in not applicable to the HTML object, you can have this erro.
But also i figured out that your plugin dont use "dict(type="navbar", custom_bindings=True)," init.py and in my plugin it also returns the same error (when I uncomment that line).
Why this happens? I shouldn't declare it?
In my case I was likely using custom bindings originally and later switched it off and just left the definition. Would most likely work without even having it(dict(type="settings", custom_bindings=False) there.