I have a app with a multi combo box. Containers appear on the page according to the number of options selected. Ex: if I select ‘apple’ and ‘watermelon’, two boxes appear, one with apple data and the other with watermelon data. But when I’m going to use a formula inside the containers to pull the data for each fruit, from then on the checkbox no longer works, except when the value is static. When I put the repeated.current inside the container, the checkbox stops working.
It has a scroll view, the main container. Then the “box_content”, which repeats with the selected options. Inside, another container. Finally, the last one, this one that is like a line for the cells of the columns. In it is another “repeat with”, this time with the form:
SELECT(pageVars.records_all, item.cenario == repeated.current.id)
Which according to the example of the fruits would be: select within the data of all the fruits, the data of the fruits that are being repeated. One box for each, and each with its own data. The problem is that from then on the checkbox no longer works, however, when I put “item.cenario == ‘[static_value]’”, then it works, but not repeated.
Obs: records_all is a list of objects with 5 proprieties. Already the selected options are in a list of objects with 2 properties called “selected_options”, and the properties are id (which would be the name of the “item.cenario”) and number (which is the index).
Can anyone help me? Sorry for typos, I’m using Google Translate.