@@ -365,6 +365,7 @@ class AdminController extends EasyAdminController | |||
$form->add($child->getName(), EntityType::class, array( | |||
'class' => $this->em->getClassMetadata($passedOptions['class'])->getName(), | |||
'label' => $passedOptions['label'], | |||
'multiple' => isset($passedOptions['multiple']) ? $passedOptions['multiple'] : false, | |||
'placeholder' => '--', | |||
'query_builder' => function (EntityRepository $repo) use ($passedOptions, $propertyMerchant) { | |||
$queryBuilder = $repo->createQueryBuilder('e') ; |