When you click on a repeated item there will be a modal that shows the values of the selected item. Lets say the repeated item contains value a and value b. I want to create a variable that stores value a and value b so that the modal only shows the values of the clicked item
Armand
1 month ago
Oct 17, 2024, 1:16 PM
Assuming you need something to work - more or less - like this, why don't you just set the entire Object from the repeat in a Variable? Let me rephrase that, why do you want to break up the object and put it into a var? If you add the entire object into a var you can then use the data from the object in the modal.
Armand
1 month ago
Oct 17, 2024, 1:35 PM
If you really want to only keep a few items from the Object, then like below will do the trick (only keep the 1st and 3rd key in each object from the repeat):