diff --git a/templates/Form/collection_types_layout.html.twig b/templates/Form/collection_types_layout.html.twig index 72c91307..93c72540 100644 --- a/templates/Form/collection_types_layout.html.twig +++ b/templates/Form/collection_types_layout.html.twig @@ -28,7 +28,8 @@ {% endblock %} {% block project_bom_entry_widget %} - {% set target_id = 'expand_row-' ~ random() %} + {% set target_id = 'expand_row-' ~ form.vars.name %} + {% dump(form) %} {% import 'components/collection_type.macro.html.twig' as collection %}