Skip to content

Commit

Permalink
fix(condition): width of question dropdown
Browse files Browse the repository at this point in the history
may overlay other fields on its row
  • Loading branch information
btry committed Dec 1, 2022
1 parent 1f78037 commit ce0389e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/components/form/condition.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -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})) }}

Expand Down

0 comments on commit ce0389e

Please sign in to comment.