I’m trying to select a single picture from a repeating group of pictures (which are sourced from a data set) and make that single picture populate a single picture frame elsewhere on my page.
Is this possible?
Is this possible to set this up where clicking the picture that I would like inside the repeating group and then clicking the frame that I want it to populate into?
I have tried for hours, but I can’t seem to get element states working with my data sets, and trying to edit a single data entry inside a list of data entries of s specific type is also causing me problems.
Please help.
Hey @jackm365sports,
Sure, that’s quite simple. First, we need to click the image or anything within that repeating group’s current cell.
Next, we set a state in the below example. I’ve set the repeating group to store a state titled selected-image, and the data type is an image.
All we need to do is define the other images data source to be that of the state.
Note, the other image will remain empty until something is stored in the state. You can change this with conditional statements.
Thank,
New Horizon Code.
Book your free 30 minute Bubble coaching session today newhorizoncode.io/bubble/coaching (Limited time only)
1 Like