I’m having an issue with a simple grid field that’s contained within a grid field, within a fluid field.
It seems to be sporadic and it’s not clear what’s going on, but I don’t get any console errors or PHP errors.
I can add as many grid rows as I like and that’s fine. Actually, while testing and writing this, it appears to be perfect when you initially create an entry, but when I save an entry that exists after adding any new rows, the rows in the simple grid disappear. Sometimes I can get it to save one row, sometimes 2, sometimes none.
I’ve setup an example install for you to view this happening.
My second issue is related, in the same fields, if I upload an image (or other files) using the file field, it’s uploaded and attached to all simple grid file fields contained within the same fluid field. I need it to only attach to the selected simple grid row.
Actually, while writing and testing, there’s a 3rd related issue. The file field within simple grid outputs nothing on the front end.
In my example install, there is only one channel “Test Channel”, and the field(s) in question are “sg_within_g_within_fluid (the fluid field)”, and “simple_grid_within_grid”. Everything is running from the index.html template in the site.group template group.