In this case, try changing the data toggle to dropdown to see if that helps you to change the menu setting.
If that does not work, then you would need to enlist the aid of a third party developer such as : https://colorlib.com/out/envatostudio
Let me know if you need any further assistance, I’d be happy to help