[1.0.2] Function `random()` must be used in a `default()` filter

Created on 28 October 2024, 5 months ago

In side menu:

      {% set item_id = 'fr-sidemenu-item-' ~ loop.index ~ '-' ~ random() %}

In nav menu:

            {% set item_id = 'menu-' ~ loop.index ~ '-' ~ random() %}
            {% set item_id = 'mega-menu-' ~ loop.index ~ '-' ~ random() %}
📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024