I have a form modal that pops up when I click these buttons inside a repeat list. How Can I populate the variables in my form with this elements data? Because I want to then create an UPDATE flow to submit the form changes to Supabase and PUT an update...
Alex
1 month ago
Dec 5, 2024, 11:27 AM
Oh I think I fixed it by adding click events to set variables?
Chris Laupama
1 month ago
Dec 5, 2024, 11:28 AM
Create a variable to store the index of the item you are clicking on. Then you can just use that index to obtain the data from that index in the array and pre-fill the values of the input fields of the form.