SelectBoxJumpMenu.html 563 Bytes
Newer Older
1
<f:if condition="{menu.menuItems -> f:count()} > 1">
2
    {menu.label} <select class="form-select form-select-sm t3-js-jumpMenuBox"
3
4
5
                        name="{menu.identifier}"
                        data-menu-identifier="{menu.dataIdentifier}"
                        data-global-event="change" data-action-navigate="$value">
6
7
8
9
10
        <f:for each="{menu.menuItems}" as="menuItem">
            <option value="{menuItem.href}" {f:if(condition: '{menuItem.active}', then: ' selected="selected"')}>{menuItem.title}</option>
        </f:for>
    </select>
</f:if>