Skip to content

EntityType's by_reference option undocumented #14562

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

Closed
Herz3h opened this issue Nov 17, 2020 · 3 comments
Closed

EntityType's by_reference option undocumented #14562

Herz3h opened this issue Nov 17, 2020 · 3 comments
Labels
Form hasPR A Pull Request has already been submitted for this issue.

Comments

@Herz3h
Copy link
Contributor

Herz3h commented Nov 17, 2020

I have a OneToMany relation, and I struggled for 30 mins because my changes on the One side weren't not persisted.

It turns out, adding by_reference makes it work, but is undocumented:

https://symfony.com/doc/4.4/reference/forms/types/entity.html

@xabbuh xabbuh added the Form label Nov 18, 2020
@carsonbot
Copy link
Collaborator

Thank you for this issue.
There has not been a lot of activity here for a while. Has this been resolved?

@carsonbot
Copy link
Collaborator

Hello? This issue is about to be closed if nobody replies.

@Herz3h
Copy link
Contributor Author

Herz3h commented Dec 3, 2021

I have sent a PR to document this

@carsonbot carsonbot removed the Stalled label Dec 3, 2021
@xabbuh xabbuh added the hasPR A Pull Request has already been submitted for this issue. label Dec 12, 2021
@wouterj wouterj closed this as completed Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Form hasPR A Pull Request has already been submitted for this issue.
Projects
None yet
Development

No branches or pull requests

4 participants