- 🇧🇷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. - 🇧🇷Brazil adinancenci
I know the issue has been closed. Still, in case anyone is suffering with the same problem.
The previous patch causes a different problem: the user needs to click on "Remove" twice to remove the collection.
So I implemented it in a different manner.It seems that the widget thinks that the form is being rebuild when it is not, so I adjusted a conditional statement to fix the problem.