Skip to content

Commit 0e24841

Browse files
Merge branch '4.2'
* 4.2: (27 commits) [VarExporter] dont call userland code with uninitialized objects Fix typos in doc blocks [Debug] ignore underscore vs backslash namespaces in DebugClassLoader [TwigBridge][Form] Prevent multiple rendering of form collection prototypes [FrameworkBundle] fix describing routes with no controllers [DI] move RegisterServiceSubscribersPass before DecoratorServicePass Update ValidationListener.php [Yaml] ensures that the mb_internal_encoding is reset to its initial value [Messenger] Restore message handlers laziness [WebLink] Fixed documentation link [Security] getTargetPath of TargetPathTrait must return string or null [Hackday][Serializer] Deserialization ignores argument type hint from phpdoc for array in constructor argument Optimize perf by replacing call_user_func with dynamic vars [Cache] Fix dsn parsing [Routing] fix dumping same-path routes with placeholders [WebProfilerBundle][TwigBundle] CSS fixes Add a docblock for FormFactoryInterface [Security] defer log message in guard authenticator [Validator] Added IBAN format for Vatican City State merge conflicts ...
2 parents f66d5f6 + 410ecc5 commit 0e24841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/views/Form/form_div_layout.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
{%- endblock form_widget_compound -%}
2929

3030
{%- block collection_widget -%}
31-
{% if prototype is defined %}
31+
{% if prototype is defined and not prototype.rendered %}
3232
{%- set attr = attr|merge({'data-prototype': form_row(prototype) }) -%}
3333
{% endif %}
3434
{{- block('form_widget') -}}

0 commit comments

Comments
 (0)