<![CDATA[ Wayfinder adding data- attributes - My Forums]]> https://forums.modx.com/thread/?thread=101725 <![CDATA[Wayfinder adding data- attributes]]> https://forums.modx.com/thread/101725/wayfinder-adding-data--attributes#dis-post-548614
I have
<li data-role="collapsible" data-iconpos="right" data-shadow="false" data-corners="false">
	<h2><a href="[[+wf.link]]" [[+wf.attributes]]>[[+wf.linktext]]</a></h2>
	[[+wf.wrapper]]
</li>

in Wayfinder.innerRowMobileTpl (for mobile)

it produces such output
<li class="data-role= ui-li-static ui-body-inherit" collapsible"="" data-iconpos="right" data-shadow="false" data-corners="false">
	<h2><a href="service/" title="Услуги" class="dropdown-toggle disabled ui-link" data-toggle="dropdown">...

It is very very strange. I only need to create a menu. I do not really need to play with TV parameters or something... It should work. But it does not. Please tell me what`s wrong, I`ll really appreciate this.]]>
the-city Feb 08, 2017, 02:00 PM https://forums.modx.com/thread/101725/wayfinder-adding-data--attributes#dis-post-548614
<![CDATA[Re: Wayfinder adding data- attributes (Best Answer)]]> https://forums.modx.com/thread/101725/wayfinder-adding-data--attributes#dis-post-548615 the-city Feb 08, 2017, 02:14 PM https://forums.modx.com/thread/101725/wayfinder-adding-data--attributes#dis-post-548615