8000 [Form] Ignoring invalid forms from delete_empty behavior in CollectionType by yceruto · Pull Request #40258 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Ignoring invalid forms from delete_empty behavior in CollectionType #40258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 21, 2021

Conversation

yceruto
Copy link
Member
@yceruto yceruto commented Feb 19, 2021
Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #37660
License MIT
Doc PR -

As expained on linked issue, empty forms cannot be removed if they are invalid upon submitting (e.g. transformation failures). Thus, form errors can be displayed properly to the end user.

@fabpot
Copy link
Member
fabpot commented Feb 21, 2021

Thank you @yceruto.

@fabpot fabpot merged commit 8054d1d into symfony:4.4 Feb 21, 2021
@yceruto yceruto deleted the delete_empty_issue branch February 21, 2021 18:02
This was referenced Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0