Skip to content

Generate UUID for nav items

Jacques Erasmus requested to merge 835-fix-broken-nav-items into master

At the moment we use the nav item's label as the data-target and target's id which causes issues when the label contains special characters.

A more robust solution is to generate a unique ID for this purpose as it also prevents duplicate ID's occurring.

This MR generates a unique ID for nav items rather than using the nav label as the data-target and target's id.

Preview

Screen_Recording_2020-11-17_at_13.47.59.2020-11-17_13_49_35

Closes #835 (closed)

Edited by Jacques Erasmus

Merge request reports