I have created a custom component that has a property jsonobject
.
I initialize it as follows:
self.json_browser_1.jsonobject = {"one": 1}
Then in the component, I don’t know how to access it. I have the following code that preduces None
for jsonobject.
def __init__(self, **properties):
# Set Form properties and Data Bindings.
self.init_components(**properties)
print("jsonobject", dir(self), properties, self.jsonobject, self.item)
How do I set properties on a custom component?