From 75972693b0b49f02515dcf29b1942a1f3794f0b3 Mon Sep 17 00:00:00 2001 From: t-veron Date: Thu, 15 Dec 2016 16:40:58 +0100 Subject: [PATCH] Fix required set --- Resources/views/Form/typeahead.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/Form/typeahead.html.twig b/Resources/views/Form/typeahead.html.twig index ae97dc6..0523927 100644 --- a/Resources/views/Form/typeahead.html.twig +++ b/Resources/views/Form/typeahead.html.twig @@ -1,6 +1,6 @@ {% block entity_typeahead_widget %} {% spaceless %} - {% set required, main_full_name, main_id, main_value, main_attr = false, full_name, id, value, attr %} + {% set main_full_name, main_id, main_value, main_attr = full_name, id, value, attr %} {# create visible autocomplete input #} {% set id = main_id ~ '_text' %}