I’m trying to create a list of items for my prototype: https://framer.cloud/dZOZs/ but I got stuck at figuring out how to implement the list behaviour.
I have list of items with checkboxes. Each checkbox is a child of an invisible container (for large tap area). Each container is a child of it’s list item. I want to be able to tap on a container -> activate checkbox -> change the background of the list entry -> tap on it again -> deactivate checkbox. All checkboxes, list items, containers are themselves pushed in their own arrays arrays so I can access them.
I implemented the behaviour for a single list item, but I struggle to figure out how to implement it for all items in the array.
Any suggestions? Thanks!