Getting value from firebase gives me various values for the loop above. What I want is that every time I get a value, I join it with the variable “all_products_lista”.
I used the join block, but what it does for me is that it replaces the value with the new one and what I want is for me to add it.
OK, I like the idea. But there is a problem according to me, every time the loop is executed the union value will be replaced. I would like you to show some blocks. Thanks in advance.
Suppose there are 2 items in the list: when it goes through the first item it is written to a text variable, fine. But when the loop passes through the second element, the value of the first is replaced with the value of the new value that will be the second element. If I am not correct please provide blocks for a better understanding.
When the screen starts you call a variable with a tinydb or other block that saves your data.
When you go to save, you put the add to list block, the variable where you have the saved data and at the end you save it again.
I know yours is more advanced, but take mine as a base.
Exactly, that is what I want to do, so that I only take the value and so I can perform the filtering, the values of all the chosen labels have to be in a list, so that later I can find them in pairs.