Skip to content

EntityType's by_reference option undocumented #14562

Closed
@Herz3h

Description

@Herz3h

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FormhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions