Use query_builder on CollectionType in symfony4 forms?
问题 In a symfony 4 form, I need to use something like a query_builder option that is available on EntityType but from a CollectionType . There is a similar question here with no good answers. In my project, each Site entity has many Goal . Each Goal has a numeric goal and a specific date. I'd like to edit the goals of a site for a specific date only. The problem is that a CollectionType form pulls all goals to show in the form, but I only want to pull the goals for a given date. How? There is no