I have a form with assotation field type (list of related entities).
What I've been trying to achieve is to filter this list on "newAction" form (create new entity).
For example, following screen below:
- There is a Survey entity with field "User".
- There is Department entity with field "Survey" (@ORM\ManyToOne) where the User choose a survey.
You can see two available surveys but I want to display only the first one, because its User field value is the same as current user.
It is confusing, because I can't find values passed to the Survey field when I debuging.