Skip to content

Commit 319ac40

Browse files
committed
Update the mass creation form, so that you can see the newly created entities in dropdown
Fixes issue #1103
1 parent 065396d commit 319ac40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Controller/AdminPages/BaseAdminController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,9 @@ protected function _new(Request $request, EntityManagerInterface $em, EntityImpo
383383
if (count($results) > 0) {
384384
$this->addFlash('success', t('entity.mass_creation_flash', ['%COUNT%' => $created_count]));
385385
}
386+
387+
//Recreate mass creation form, so we get the updated parent list and empty lines
388+
$mass_creation_form = $this->createForm(MassCreationForm::class, ['entity_class' => $this->entity_class]);
386389
}
387390

388391
return $this->render($this->twig_template, [

0 commit comments

Comments
 (0)