From 57373ef8d87d237ceab7e2f60644ad5a6e79cf95 Mon Sep 17 00:00:00 2001 From: NicoHood Date: Sat, 9 Jan 2021 13:46:22 +0100 Subject: [PATCH] Fix hidden field fallback 'field.value' --- templates/forms/fields/hidden/hidden.html.twig | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/forms/fields/hidden/hidden.html.twig b/templates/forms/fields/hidden/hidden.html.twig index 3b368a81..2be43011 100644 --- a/templates/forms/fields/hidden/hidden.html.twig +++ b/templates/forms/fields/hidden/hidden.html.twig @@ -2,6 +2,7 @@ {% block field %} +{% set value = value ?: field.value %} {% set input_value = value is iterable ? value|join(',') : value|string %}