From ce0389efdfe55bb54225e70358ad2a86937d3d94 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Thu, 1 Dec 2022 09:21:48 +0100 Subject: [PATCH] fix(condition): width of question dropdown may overlay other fields on its row --- templates/components/form/condition.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/components/form/condition.html.twig b/templates/components/form/condition.html.twig index a758a97a8..be217de64 100644 --- a/templates/components/form/condition.html.twig +++ b/templates/components/form/condition.html.twig @@ -58,7 +58,7 @@ {% set excludeQuestions = call('PluginFormcreatorCondition::getQuestionsExclusion', [parent]) %} {% set form = call('PluginFormcreatorForm::getByItem', [parent]) %} {% set field %} - {% do call('PluginFormcreatorQuestion::dropdownForForm', [form, excludeQuestions, '_conditions[plugin_formcreator_questions_id][]', condition.fields['plugin_formcreator_questions_id']]) %} + {% do call('PluginFormcreatorQuestion::dropdownForForm', [form, excludeQuestions, '_conditions[plugin_formcreator_questions_id][]', condition.fields['plugin_formcreator_questions_id'], options]) %} {% endset %} {{ fields.field(name, field, label, options|merge({'id': 'dropdown_' ~ name ~ '_' ~ options.rand})) }}