There was a question of creating the right conditions. I kind of already figured out how to Wappler to create the conditions, but occasionally there is misunderstanding.
The table has a column “55555”. In this column, the default value for each cell is “- - -”. Then I set a condition if a record field value “account_base” from database query > 0 then instead of “- - -” in the cell reflected a badge that you now see in the table. The condition looks like this:
serverconnect1.data.query1[0].account_base > 0
The problem is that in the database I put the value of the field “account_base” only one record at first. For all other records, this field is empty. That is, the badge should be shown only at the first record, and the cells of the other records should reflect the “- - -” which is the default.
What’s wrong with my condition? How to write correctly that the check was made on a field of each specific record?
Yes, All your fixes worked, thank you very much for your help! Dynamic attributes now work as expected.
At the moment, the only question is how to generate the right conditions using the visual interface of Wappler? Because it often generates a condition code that does not work correctly. And if you do not fix the code manually (you need to know what to edit), the function will not work (or will be incorrect).
I believe you just clicked a wrong binding in the data picker dialog… probably not the bindings under the repeat region, but the ones under the server connect.