twig - building array in for loop

前端 未结 0 1555
滥情空心
滥情空心 2021-02-12 07:19

is it possible to iteratively fill a twig array with values?

{% for question in questions %}
{% set multipleChoiceArray = [] %}
    {% for multipleChoice in que         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题