I'm trying to add a data attribute to the "Menu Link" element URL (inside the <a> tag). However, there's no "Add Attribute" option in the link settings.
Yet, this attribute exists in the "Menu Button" element. (Menu Button > Link > Setting > Advanced > Attributes)
Problem:
I can't add a data attribute to the "Menu Link" URL (i.e., inside the <a> tag). If I add the attribute in the Advanced tab, this data is added inside the <li> tag, not the <a> tag.
What needs to be done:
The data attribute should also be added to the "Menu Link" element in the "Menu Button" Advanced > Attributes settings.
For example:
- Create a Menu Builder
- Create a Menu Link
- Add a link
- Try add a custom attributes on the setting. There is no option for add attributes.

I'm trying to add a data attribute to the "Menu Link" element URL (inside the
<a>tag). However, there's no "Add Attribute" option in the link settings.Yet, this attribute exists in the "Menu Button" element. (Menu Button > Link > Setting > Advanced > Attributes)
Problem:
I can't add a data attribute to the "Menu Link" URL (i.e., inside the
<a>tag). If I add the attribute in the Advanced tab, this data is added inside the<li>tag, not the<a>tag.What needs to be done:
The data attribute should also be added to the "Menu Link" element in the "Menu Button" Advanced > Attributes settings.
For example: