Edit form renders additional "add new item" element

Created on 27 February 2018, over 6 years ago
Updated 14 April 2023, over 1 year ago

Hi,

We have really frustrating issue where upon clicking "Edit" link for a paragraph item you get the edit form but below we also have the form for new item displayed which of course has some required fields and if the user wants to simply edit the already added paragraph he/she must click on "remove" and delete the additional form at the bottom. Has anyone experienced such issues? This paragraph is a field collection.

💬 Support request
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇷Brazil adinancenci

    It is a problem with field collections indeed. For me it seems that the error occurs when the entity reference field is set to the preview edit mode in the form display settings. Otherwise it seems to behave normally.

  • 🇧🇷Brazil adinancenci

    Hello @zlatev.
    Again this is an issue with the field collection module.
    I managed to resolve the issue with the attached patch, please let me know if you found a better solution.
    Kind regards,
    Adinan.

Production build 0.71.5 2024