Replies: 1 comment
-
The defaults variable should be created in the App.OnStart or .OnVisible action properties. Within the screens section in the component library, you can see an example in SetupPage.OnVisible. The Set() command will create the defaults table and Patch() calculated columns. When you then drop controls onto screen you will not receive errors. |
Beta Was this translation helpful? Give feedback.
-
I had a quick peek into the components within the imported component library.
The components showing me errors "defaults is not recognized" for every property that tries to use this "defaults"-object (theming?), as in
property: primaryColorHex
value: defaults.primaryColorHex
So how do you develop these components i. e. how to provide this "defaults"-object during editing a component?
Beta Was this translation helpful? Give feedback.
All reactions