Skip to content
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

[AdminBundle] nested form: don’t remove entities in many-to-many relation #629

Merged
merged 1 commit into from
Aug 15, 2015

Conversation

mlebkowski
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets #584 (partially)

An option to the delete-key from nested form item HTML. This way nested form can handle many-to-many relations: simpli missing the item from the form will remove the relation, but the entity won’t be removed.

This also partially fixes #584 — when a form is non-compound, but doesn’t have any children either, just print the whole form_widget().

@roderik roderik added this to the 3.2.5 milestone Aug 15, 2015
roderik pushed a commit that referenced this pull request Aug 15, 2015
[AdminBundle] nested form: don’t remove entities in many-to-many relation
@roderik roderik merged commit f69091a into Kunstmaan:master Aug 15, 2015
@roderik roderik modified the milestones: 3.2.5, 3.3.0 Aug 18, 2015
@mlebkowski mlebkowski deleted the feature/nested-many-to-many branch February 4, 2016 16:11
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.

Collection form type in page admin form
2 participants