I have created some apps that rely on components to (for example) display stuff based on some input parameters. At some point in the last week (?) they stopped working properly (they were working fine before).
For example, I have a component that displays a text based on an input parameter "Text". On the form, the "Text" property of the component is set to "variable.name". But the label on the component that should display that value stays empty.
See attached example.
/edit: The example I attached only shows this with regard to displaying a text on a label in a component. But what makes this worse is that some of my components also have internal conditional logic to them based on boolean (or other) input variables. If that's not working, well that kind of breaks the whole app...
Hello,
Yes, it's working!
Thanks for the quick and great support.
So far, it looks like it's working again. Thanks!
Finally,
i've found a solution for this. Hope this helps if someone is facing the same problem
Frankly, i hope MS will fix this, so we can pass Global variables as parameters to the components. In more, there is now the Component library, so if i'm going to publish some components to be used by the 'Citizen developers', i'm not sure if they will understand / like the fact that they should use local variables each time instead of using the same variable everywhere.
Same problem here.
If you pass a variable parameter to the component and the variable value changes. The parameter becomes empty!!
Tested with a text, array, object parameters and always same buggy behavior.
I have a lot of components in different apps, fortunately it keeps working on the already published versions, i don't even dare to update them.
I've remarked also, if you pass this variable to a control on your app (let's say on the control text) and then pass to the component myControl.text, it keeps working. But we all know this is a very bad practice!
Hope Fixes this ASAP.
WarrenBelz
146,587
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional