Hi there. I have a simple app like a grocery list. Each item has a toggle.
I want to be able to have in the items page, a button that resets all items toggles. A master reset of the list let’s say, for that the next time i want to use the app, i don’t have to manually unckeck each item in the list.
I tried to link a button to update action, but since toggle is a item property and not a global one, i cannot select a “global” button to a local variable
I tried all kinds of things, with second screen, invisible lists, i didn’t figure it out.
Can anyone help me please ?
Thank you.
Are you using many to many relationship? If yes, then you can unselect in bulk by invisible list or you can also use Hidden trigger component for this.
You can learn more about the component here
Thanks
Shantanu
Hi Shantanu,
Thank you for your input. I was using one to many relationship, since my structure is something like :
Category 1
- Item 1
- Column Property
- Column True/False - Item 2
- Column Property
- Column True/False
Category 2 - Item 3
- Column Property
- Column True/False - Item 4
- Column Property
- Column True/False
The logic is that a item belongs to only one category. A category has multiple items.
I don’t know if changing the relationship will help
And regards to the trigger component, i am not sure if i will use adalo in the future, i am testing it, and to be honest, it has a lot of bugs or important features missing.
Hi,
If you could share your screen recording, I may help more because from this explanation, I am not able to understand fully. Apart from that, what kind of bugs you are facing?
Hi, i can’t share the screen but i as i said, it is like a grocery list
On the first page you have categories : meat, dairy, drinks, etc. This list is linked in a one to many relationship to a list of items that are on the second page (screen)
So if i click meat, it goes to the second screen and show me all meat items. And with my toggle property i can check or uncheck an item.
What i am trying to achieve, is after i checked all the boxes and my job is done, to have a master reset button that unchecks all items in that cagegory.
And regarding the bugs i am facing, let’s say i did a mistake, and i want to delete and reupload the items database. After i upload a new csv file, and add all needed relationship with the category database, and change and check everything, guess what, in the second screen (meaning the current category> current items screen) my data is not available, only the all itemes, meaning the relationship is not updated.The only fix to this is to delete everything and to start over (all screens, all dbs), or to manually select each category for each item, which is ok for now, but not with 100+ items.
I tried to delete only category database, only items database, and all sorts of combination, once you change something in your db, relationships fails
This i assume is a bug, but could be a limitation to free version of the app. Either way is not ok at all.
But i am grateful for your time invested in this issue, so thank you.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.