You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Really weird one. EE 7.2.14 (but also in some older versions of 7).
I have a channel, only has 1 field- a fluid field.
Fluid field only has 1 field- grid field.
Grid field has 3 columns, a select, a text, a file field.
I start a new entry, add my grid field via fluid, add 1 row- fill out each column. Preview. It all looks good.
I add another grid field (not another row in existing)- repeat above, preview. I get a php error on the preview page. Close preview. Save. Entry saves ok, but there is an extra empty row added to my second grid field.
Error I saw:
Saved entry- not the extra empty grid row:
It's definitely quirky. When I first tried replicating locally, I just had a text and a file field in my grid and I couldn't replicate. The user reporting also had a manually populated select field in their grid, so I added that and I replicated! Though- user didn't report the php error I was seeing (but that could have been error settings).
Thinking it was something specific to selects, I tried replicating with a grid field that ONLY had 1 select field in it, but I didn't replicate with that.
Not sure what's up. Was weird. But I can reproduce it.
Activity
[-]Fluid live preview bug[/-][+]Grid rows duplicated in Fluid field[/+]intoeetive commentedon Apr 12, 2023
I was able to replicate it without LivePreview (looks like PHP errors there though are related to malformed data posted, as shown on video)
Only happens if you have both Select and File in the Grid - and this appears to be related to JS stuff, where
disabledattribute is mistakenly removed. I'm attaching video https://www.dropbox.com/s/1ek308o6sairng4/Rec_15.29.52%2020230412.mp4?dl=0Resolved #3261 where Grid rows duplicated in Fluid field
Resolved #3261 where Grid rows duplicated in Fluid field