[TASK] Add data attributes in backend toolbar and menu components
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Partials / Menus / SelectBoxJumpMenu.html
1 {menu.label} <select class="form-control t3-js-jumpMenuBox" name="{menu.identifier}" data-menu-identifier="{menu.dataIdentifier}" onchange="if(this.options[this.selectedIndex].value){window.location.href=(this.options[this.selectedIndex].value);}">
2 <f:for each="{menu.menuItems}" as="menuItem">
3 <option value="{menuItem.href}" {f:if(condition: '{menuItem.active}', then: ' selected="selected"')}>{menuItem.title}</option>
4 </f:for>
5 </select>