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
First bug found when displaying errors in collection. When numeration of (name) does not start from zero validation errors are displayed in bad collection memebers. For example:
a) I add 3 new collection members
b) I remove first member
c) I submit a form (got validation errors)
d) I add 1 new member
e) I submit form again
f) Validation errors are displayed in bad members, Last member does not have validation errors. First elemet has errors no matter if it is valid or not.
There is a bug in algorithm in documentation (http://symfony.com/doc/current/cookbook/form/form_collections.html), when you remove some elements from the middle of collection, and then submit form, after page is reloaded you will get bad (name) numeration when add new tags i.e. input names will have same name value.
The text was updated successfully, but these errors were encountered:
a) I add 3 new collection members
b) I remove first member
c) I submit a form (got validation errors)
d) I add 1 new member
e) I submit form again
f) Validation errors are displayed in bad members, Last member does not have validation errors. First elemet has errors no matter if it is valid or not.
The text was updated successfully, but these errors were encountered: