From a21c0fff7ba3ae7c2d200304dd2d91887cd50c9b Mon Sep 17 00:00:00 2001 From: florenttorregrosa Date: Sun, 10 Jul 2016 13:57:58 +0200 Subject: [PATCH] Issue #2762091 by Grimreaper, estoyausente, markcarver: Select multiple field has an unwanted ::after icon --- templates/input/select.html.twig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/input/select.html.twig b/templates/input/select.html.twig index c5641ec..8d75f0e 100644 --- a/templates/input/select.html.twig +++ b/templates/input/select.html.twig @@ -28,7 +28,9 @@ # around the select element to style it properly. # @see http://stackoverflow.com/q/21103542 #} -
+ {% if not attributes.offsetExists('multiple') %} +
+ {% endif %} {% set classes = ['form-control'] %} {% for option in options %} @@ -45,7 +47,9 @@ {% endif %} {% endfor %} -
+ {% if not attributes.offsetExists('multiple') %} +
+ {% endif %} {% if suffix %} {{ suffix }} -- 2.1.4