Menu Item Settings > General > Disable Link
The Disable Link setting will change your menu item’s a
tag to a span
tag, removing the link and just leaving the text. Hovering the item will show the default cursor. Clicking the item will not follow the link.
If you are using the Hover trigger, clicking will do nothing. If you’re using the Click trigger, clicking will toggle the submenu open and closed (if there is a dropdown submenu)